I should know better than to commit after midnight when I'm soloing.
(Let's require the support files in the right order.)
This commit is contained in:
parent
dc499293b3
commit
ee8796fc79
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,10 @@ include HelperMethods
|
||||||
|
|
||||||
# Requires supporting files with custom matchers and macros, etc,
|
# Requires supporting files with custom matchers and macros, etc,
|
||||||
# in ./support/ and its subdirectories.
|
# in ./support/ and its subdirectories.
|
||||||
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
fixture_builder_file = "#{File.dirname(__FILE__)}/support/fixture_builder.rb"
|
||||||
|
support_files = Dir["#{File.dirname(__FILE__)}/support/**/*.rb"] - [fixture_builder_file]
|
||||||
|
support_files.each {|f| require f }
|
||||||
|
require fixture_builder_file
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.mock_with :rspec
|
config.mock_with :rspec
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue