Skip to content

Commit

Permalink
Move spec require into array
Browse files Browse the repository at this point in the history
  • Loading branch information
unixcharles committed Aug 2, 2012
1 parent a363c1f commit 10911a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/playback_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require File.expand_path('../spec_helper', __FILE__)
require File.expand_path('../../lib/mock_server/playback', __FILE__)
require File.expand_path('../../lib/mock_server/spec/helpers', __FILE__)
['../spec_helper','../../lib/mock_server/playback', '../../lib/mock_server/spec/helpers'].each { |file|
require File.expand_path(file, __FILE__)
}

describe "Playback" do
include Rack::Test::Methods
Expand Down
6 changes: 3 additions & 3 deletions spec/record_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require File.expand_path('../spec_helper', __FILE__)
require File.expand_path('../../lib/mock_server/record', __FILE__)
require File.expand_path('../../lib/mock_server/spec/helpers', __FILE__)
['../spec_helper','../../lib/mock_server/record', '../../lib/mock_server/spec/helpers'].each { |file|
require File.expand_path(file, __FILE__)
}

describe "Record" do
include Rack::Test::Methods
Expand Down

0 comments on commit 10911a4

Please sign in to comment.