Use build instead of create

bug/bundler_fix
James Lee 2015-03-24 13:17:42 -05:00
parent b9934cfd3f
commit 023f47f19a
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ shared_examples_for 'Msf::DBManager::Session' do
context 'with a match in user_data' do
let(:user_data) do
{
match: FactoryGirl.create(:automatic_exploitation_match),
match_set: FactoryGirl.create(:automatic_exploitation_match_set),
match: FactoryGirl.build(:automatic_exploitation_match),
match_set: FactoryGirl.build(:automatic_exploitation_match_set),
run: FactoryGirl.build(:automatic_exploitation_run, workspace: session_workspace),
}
end