[20:12:25] (master) receta
// ♥ rake db:migrate RAILS_ENV=test ; rspec spec/controllers/recipes_controller_spec.rb
.FFFF
Failures:
1) RecipesController index when the search finds results should include 'Baked Brussel Sprouts'
Failure/Error: xhr :get, :index, format: :json, keywords: keywords
ActionView::Template::Error:
Missing partial recipes/_recipe, application/_recipe with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:jbuilder]}. Searched in:
* "/Users/Dan/work/angular-rails/receta/app/views"
# ./app/views/recipes/index.json.jbuilder:1:in `_app_views_recipes_index_json_jbuilder___2543389150451662351_70112294416720'
# ./spec/controllers/recipes_controller_spec.rb:12:in `block (3 levels) in <top (required)>'
2) RecipesController index when the search finds results should return two results
Failure/Error: xhr :get, :index, format: :json, keywords: keywords
ActionView::Template::Error:
Missing partial recipes/_recipe, application/_recipe with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:jbuilder]}. Searched in:
* "/Users/Dan/work/angular-rails/receta/app/views"
# ./app/views/recipes/index.json.jbuilder:1:in `_app_views_recipes_index_json_jbuilder___2543389150451662351_70112294416720'
# ./spec/controllers/recipes_controller_spec.rb:12:in `block (3 levels) in <top (required)>'
3) RecipesController index when the search finds results should include 'Baked Potato w/ Cheese'
Failure/Error: xhr :get, :index, format: :json, keywords: keywords
ActionView::Template::Error:
Missing partial recipes/_recipe, application/_recipe with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:jbuilder]}. Searched in:
* "/Users/Dan/work/angular-rails/receta/app/views"
# ./app/views/recipes/index.json.jbuilder:1:in `_app_views_recipes_index_json_jbuilder___2543389150451662351_70112294416720'
# ./spec/controllers/recipes_controller_spec.rb:12:in `block (3 levels) in <top (required)>'
4) RecipesController index when the search finds results should 200
Failure/Error: xhr :get, :index, format: :json, keywords: keywords
ActionView::Template::Error:
Missing partial recipes/_recipe, application/_recipe with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:jbuilder]}. Searched in:
* "/Users/Dan/work/angular-rails/receta/app/views"
# ./app/views/recipes/index.json.jbuilder:1:in `_app_views_recipes_index_json_jbuilder___2543389150451662351_70112294416720'
# ./spec/controllers/recipes_controller_spec.rb:12:in `block (3 levels) in <top (required)>'
Finished in 0.33643 seconds
5 examples, 4 failures
Failed examples:
rspec ./spec/controllers/recipes_controller_spec.rb:32 # RecipesController index when the search finds results should include 'Baked Brussel Sprouts'
rspec ./spec/controllers/recipes_controller_spec.rb:26 # RecipesController index when the search finds results should return two results
rspec ./spec/controllers/recipes_controller_spec.rb:29 # RecipesController index when the search finds results should include 'Baked Potato w/ Cheese'
rspec ./spec/controllers/recipes_controller_spec.rb:23 # RecipesController index when the search finds results should 200
Randomized with seed 53057