spec/factories/metasploit/credential/cores.rb in metasploit-credential-0.14.8 vs spec/factories/metasploit/credential/cores.rb in metasploit-credential-1.0.0.pre.rails.pre.4.0b

- old
+ new

@@ -1,9 +1,9 @@ FactoryGirl.define do factory :metasploit_credential_core, class: Metasploit::Credential::Core do - ignore do + transient do origin_factory { generate :metasploit_credential_core_origin_factory } private_factory { generate :metasploit_credential_core_private_factory } realm_factory { generate :metasploit_credential_core_realm_factory } end @@ -32,28 +32,28 @@ origin.session.host.workspace end } factory :metasploit_credential_core_import do - ignore do + transient do origin_factory :metasploit_credential_origin_import end end factory :metasploit_credential_core_manual do - ignore do + transient do origin_factory :metasploit_credential_origin_manual end end factory :metasploit_credential_core_service do - ignore do + transient do origin_factory :metasploit_credential_origin_service end end factory :metasploit_credential_core_session do - ignore do + transient do origin_factory :metasploit_credential_origin_session end end end