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:
Sarah Mei 2011-02-20 01:08:13 -08:00
parent dc499293b3
commit ee8796fc79

View file

@ -20,7 +20,10 @@ include HelperMethods
# Requires supporting files with custom matchers and macros, etc,
# 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|
config.mock_with :rspec