13 May 2014, 11:55
205168_pragsmall

Marco Floriano (1 post)

Getting the following error when executing rake test:

Running tests:

[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. ….EEEEEEE.

Finished tests in 0.323118s, 37.1382 tests/s, 68.0867 assertions/s.

1) Error: ProductsControllerTest#test_should_create_product: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

2) Error: ProductsControllerTest#test_should_destroy_product: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

3) Error: ProductsControllerTest#test_should_get_edit: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

4) Error: ProductsControllerTest#test_should_get_index: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

5) Error: ProductsControllerTest#test_should_get_new: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

6) Error: ProductsControllerTest#test_should_show_product: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

7) Error: ProductsControllerTest#test_should_update_product: StandardError: No fixture named ‘one’ found for fixture set ‘products’ test/controllers/products_controller_test.rb:5:in `block in '

12 tests, 22 assertions, 0 failures, 7 errors, 0 skips

  You must be logged in to comment