Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) Failure:
- test_should_get_index(SuppliersControllerTest) [/test/functional/suppliers_controller_test.rb:7]:
- not all expectations were satisfied
- unsatisfied expectations:
- - expected exactly once, not yet invoked: Supplier(id: integer, name: string, created_at: datetime, updated_at: datetime, address1: string, address2: string, city: string, county: string, country: string, tel: string, contact_name: string, email: string, website: string, postcode: string, user_id: integer).paginate(:page => '2', :order => 'name')
- 2) Error:
- test_should_get_index_with_data(SuppliersControllerTest):
- NoMethodError: You have a nil object when you didn't expect it!
- The error occurred while evaluating nil.suppliers
- app/controllers/suppliers_controller.rb:5:in `index'
- /test/functional/suppliers_controller_test.rb:19:in `test_should_get_index_with_data'
Add Comment
Please, Sign In to add comment