Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe ... do
- fixtures :personas, "pp:products"
- it "should ..." do
- # This is the standard, it uses the "test" database
- # connection and fixtures in ./spec/fixtures/personas.yml
- personas = fixtures(:personas)
- # This is the enhanced fixtures, it uses the "pp_test" database
- # for testing/specs. The fixtures are in ./spec/fixtures/pp/tests.yml
- pp_products = fixtures("pp:products")
- end
- end
Add Comment
Please, Sign In to add comment