Cross Reference: proof_attempt_configuration_factory.rb
xref
: /
ontohub
/
spec
/
factories
/
proof_attempt_configuration_factory.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
proof_attempt_configuration_factory.rb revision 830a9c18a0749270046905672daf2f66c7e32d56
FactoryGirl.define
do
factory
:
proof_attempt_configuration
do
|
pac
|
timeout
{
rand
(
5
)
+
5
}
association
:
prover
, :
with_sequenced_name
association
:
logic_mapping
association
:
ontology
pac.after
(:
build
)
do
|
pac
|
unless
pac.axiom
_selection
pac.axiom
_selection
=
FactoryGirl.create
:
axiom_selection
,
proof_attempt_configuration
:
pac
end
end
end
end