Use only new hash syntax

This commit is contained in:
Artem Chernikov 2014-07-21 14:49:05 +02:00
parent 3901973fd6
commit 5289f41eb5
72 changed files with 179 additions and 181 deletions

View file

@ -7,7 +7,7 @@ RSpec.configure do |config|
DatabaseCleaner.strategy = :transaction
end
config.before(:each, :js => true) do
config.before(:each, js: true) do
DatabaseCleaner.strategy = :truncation
end

View file

@ -3,7 +3,7 @@ module LoginMacros
Warden.test_mode!
def sign_in(user)
login_as(user, :scope => :user)
login_as(user, scope: :user)
end
def sign_out