spec/lib/metasploit/model/engine_spec.rb in metasploit-model-2.0.4 vs spec/lib/metasploit/model/engine_spec.rb in metasploit-model-3.0.0

- old
+ new

@@ -104,14 +104,14 @@ context 'running' do def run initializer.run end - context 'with FactoryGirl defined' do - it 'should prepend full path to spec/factories to FactoryGirl.definition_file_paths' do + context 'with FactoryBot defined' do + it 'should prepend full path to spec/factories to FactoryBot.definition_file_paths' do definition_file_path = Metasploit::Model::Engine.root.join('spec', 'factories') - expect(FactoryGirl.definition_file_paths).to receive(:unshift).with(definition_file_path) + expect(FactoryBot.definition_file_paths).to receive(:unshift).with(definition_file_path) run end end end \ No newline at end of file