Skip to content

Commit

Permalink
Pass 'model_instance' as 'model:' into custom masker's Proc
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Dec 29, 2017
1 parent 9e2c594 commit d873ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/shared_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def jedi?
expect { run_rake_task }.not_to(change { User.count })

expect { han.reload }.to(
change { han.first_name }.to("naHhan@example.test") &
change { han.first_name }.to("naHhan@example.test") &
change { han.last_name }.to("han@example.testSOLO") &
preserve { han.email }
)
Expand Down

0 comments on commit d873ba8

Please sign in to comment.