Skip to content

Commit

Permalink
Merge pull request #43 from webit-de/master
Browse files Browse the repository at this point in the history
fix deprecation warnings of factory bot in user factories
  • Loading branch information
bricesanchez authored Mar 7, 2019
2 parents bd58615 + b8206a4 commit 485d14f
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 485d14f

Please sign in to comment.