Skip to content

Commit

Permalink
fix deprecation warnings of factory bot in user factories
Browse files Browse the repository at this point in the history
  • Loading branch information
webit-stevereinke committed Nov 29, 2018
1 parent bd58615 commit b8206a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/factories/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
factory :authentication_devise_user, :class => Refinery::Authentication::Devise::User do
sequence(:username) { |n| "refinery#{n}" }
sequence(:email) { |n| "refinery#{n}@example.com" }
password "refinerycms"
password_confirmation "refinerycms"
password { 'refinerycms' }
password_confirmation { 'refinerycms' }
end

factory :authentication_devise_refinery_user, :parent => :authentication_devise_user do
Expand Down

0 comments on commit b8206a4

Please sign in to comment.