Guest User

Untitled

a guest
Apr 26th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. describe ... do
  2.  
  3. fixtures :personas, "pp:products"
  4.  
  5. it "should ..." do
  6.  
  7. # This is the standard, it uses the "test" database
  8. # connection and fixtures in ./spec/fixtures/personas.yml
  9. personas = fixtures(:personas)
  10.  
  11. # This is the enhanced fixtures, it uses the "pp_test" database
  12. # for testing/specs. The fixtures are in ./spec/fixtures/pp/tests.yml
  13. pp_products = fixtures("pp:products")
  14.  
  15. end
  16.  
  17. end
Add Comment
Please, Sign In to add comment