mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
remove deprecation warnings
This commit is contained in:
parent
10b01a199b
commit
38759622f2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ describe FactoryGirl::Callback do
|
|||
it "allows valid callback names to be assigned" do
|
||||
FactoryGirl.callback_names.each do |callback_name|
|
||||
expect { FactoryGirl::Callback.new(callback_name, -> {}) }.
|
||||
to_not raise_error(FactoryGirl::InvalidCallbackNameError)
|
||||
to_not raise_error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue