Upgraded rspec 2.14.2 to 2.99.0
This commit is contained in:
@@ -51,6 +51,17 @@ RSpec.configure do |config|
|
||||
config.after(:each) do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
|
||||
# rspec-rails 3 will no longer automatically infer an example group's spec type
|
||||
# from the file location. You can explicitly opt-in to the feature using this
|
||||
# config option.
|
||||
# To explicitly tag specs without using automatic inference, set the `:type`
|
||||
# metadata manually:
|
||||
#
|
||||
# describe ThingsController, :type => :controller do
|
||||
# # Equivalent to being in spec/controllers
|
||||
# end
|
||||
config.infer_spec_type_from_file_location!
|
||||
end
|
||||
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
|
||||
Reference in New Issue
Block a user