Skip to content

Commit

Permalink
require spec_helper, configure travis
Browse files Browse the repository at this point in the history
  • Loading branch information
aserafin committed Mar 6, 2017
1 parent cc35a9a commit 1c5b13f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: ruby
rvm:
- 2.3.1
cache: bundler
script:
- bundle exec rspec
1 change: 1 addition & 0 deletions spec/lib/grape_logging/loggers/client_env_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'spec_helper'
require 'ostruct'

describe GrapeLogging::Loggers::ClientEnv do
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/grape_logging/loggers/filter_parameters_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'spec_helper'
require 'ostruct'


describe GrapeLogging::Loggers::FilterParameters do
let(:filtered_parameters) { %w[one four] }

Expand Down
1 change: 1 addition & 0 deletions spec/lib/grape_logging/loggers/request_headers_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'spec_helper'
require 'ostruct'

describe GrapeLogging::Loggers::RequestHeaders do
Expand Down
1 change: 1 addition & 0 deletions spec/lib/grape_logging/loggers/response_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'spec_helper'
require 'ostruct'

describe GrapeLogging::Loggers::Response do
Expand Down
1 change: 1 addition & 0 deletions spec/lib/grape_logging/middleware/request_logger_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'spec_helper'
require 'rack'

describe GrapeLogging::Middleware::RequestLogger do
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$:.unshift '.'

require 'lib/grape_logging'

RSpec.configure do |config|
Expand Down

0 comments on commit 1c5b13f

Please sign in to comment.