Created
April 6, 2012 12:13
-
-
Save Imomoi/2319261 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) SlotsController#create when user logged in if slot on this date is free when pass correct params | |
Failure/Error: it { should redirect_to(slot_url(assigns(:slot).unique_key)) } | |
Expected response to be a <:redirect>, but was <422> | |
# ./spec/controllers/slots/slots_controller_create_spec.rb:74:in `block (6 levels) in <top (required)>' | |
2) SlotsController#show when user logged in and pass correct slot id response | |
Failure/Error: its(:response) { should be_success } | |
expected success? to return true, got false | |
# ./spec/controllers/slots/slots_controller_show_spec.rb:24:in `block (5 levels) in <top (required)>' | |
3) Slots::PrintController#show when user logged in and pass correct slot id response | |
Failure/Error: its(:response) { should be_success } | |
expected success? to return true, got false | |
# ./spec/controllers/slots/print/print_controller_show_spec.rb:24:in `block (5 levels) in <top (required)>' | |
4) WaitingListController#create when user logged in when no wating list availible should redirect to locations | |
Failure/Error: get :create, location_id: @l.id, service_id: @l.service_types.first.id | |
RuntimeError: | |
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id | |
# ./spec/controllers/waiting_list/waiting_list_controller_create_spec.rb:22:in `block (5 levels) in <top (required)>' | |
5) WaitingListController#create when user logged in when no wating list availible should alert user | |
Failure/Error: get :create, location_id: @l.id, service_id: @l.service_types.first.id | |
RuntimeError: | |
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id | |
# ./spec/controllers/waiting_list/waiting_list_controller_create_spec.rb:22:in `block (5 levels) in <top (required)>' | |
6) WaitingListController#new when user logged in when no wating list availible should redirect to locations | |
Failure/Error: get :new, location_id: @l.id, service_id: @l.service_types.first.id | |
RuntimeError: | |
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id | |
# ./spec/controllers/waiting_list/waiting_list_controller_new_spec.rb:21:in `block (5 levels) in <top (required)>' | |
7) WaitingListController#new when user logged in when no wating list availible should alert user | |
Failure/Error: get :new, location_id: @l.id, service_id: @l.service_types.first.id | |
RuntimeError: | |
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id | |
# ./spec/controllers/waiting_list/waiting_list_controller_new_spec.rb:21:in `block (5 levels) in <top (required)>' | |
8) slots/index_deactivated should have link <Back to place> with correct href | |
Failure/Error: @place = @location.place | |
NoMethodError: | |
undefined method `place' for nil:NilClass | |
# ./spec/views/slots/index_deactivated.html.erb_spec.rb:6:in `block (2 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment