spec/app/models/metasploit/model/association/reflection_spec.rb in metasploit-model-2.0.4 vs spec/app/models/metasploit/model/association/reflection_spec.rb in metasploit-model-3.0.0
- old
+ new
@@ -10,11 +10,11 @@
reflection.klass
end
let(:class_name) do
- FactoryGirl.generate :metasploit_model_association_reflection_class_name
+ FactoryBot.generate :metasploit_model_association_reflection_class_name
end
let(:class_name_class) do
Class.new
end
@@ -22,10 +22,10 @@
let(:model) do
Class.new
end
let(:name) do
- FactoryGirl.generate :metasploit_model_association_reflection_name
+ FactoryBot.generate :metasploit_model_association_reflection_name
end
let(:reflection) do
described_class.new(
:model => model,
\ No newline at end of file