Upgraded rspec 2.14.2 to 2.99.0

This commit is contained in:
Al Snow
2016-03-19 18:33:01 -04:00
parent 91edc5f283
commit fb923baee4
13 changed files with 80 additions and 43 deletions
+11
View File
@@ -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