spec/factories/fine_print/signature.rb in fine_print-3.0.0 vs spec/factories/fine_print/signature.rb in fine_print-3.1.0

- old
+ new

@@ -1,13 +1,17 @@ FactoryGirl.define do factory :fine_print_signature, class: FinePrint::Signature do association :contract, factory: [:fine_print_contract, :published] + trait :implicit do + is_implicit FinePrint::SIGNATURE_IS_IMPLICIT + end + transient do user_factory :user end after(:build) do |signature, evaluator| signature.user ||= FactoryGirl.build(evaluator.user_factory) end - end + end end