And I suggest you do your best to minimize the use of factories/fixtures.
In functional tests, you'll want to limit your use of factories or fixtures
only to the setup step for your functional tests.
This way you're only putting your application data in a specific state
before you exercise the sys
AmateurCoder wrote in post #1095172:
> I managed to get this to work. I used the fixture name instead of the
> rigid
> foreign key id in the capability_test.yml fixture.
>
> Thus,
>
> #fixtures
> capability_types.yml
> one:
> name: MyString
> capability_category: one
>
> two:
> name: MyString
I managed to get this to work. I used the fixture name instead of the rigid
foreign key id in the capability_test.yml fixture.
Thus,
#fixtures
capability_types.yml
one:
name: MyString
capability_category: one
two:
name: MyString
capability_category: one
On Monday, February 4, 2013 9:03
3 matches
Mail list logo