summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 65e7e529a5b..31ca2a2b64e 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -37,7 +37,7 @@ RSpec.configure do |config|
# instead of true.
config.use_transactional_fixtures = false
- config.before :each, :type => :integration do
+ config.before :each, type: :integration do
DeviseSessionMock.disable
end
@@ -59,7 +59,7 @@ RSpec.configure do |config|
DatabaseCleaner.clean
end
- config.include RSpec::Rails::RequestExampleGroup, :type => :request, :example_group => {
- :file_path => /spec\/api/
+ config.include RSpec::Rails::RequestExampleGroup, type: :request, example_group: {
+ file_path: /spec\/api/
}
end