Use only new hash syntax
This commit is contained in:
parent
3901973fd6
commit
5289f41eb5
72 changed files with 179 additions and 181 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue