Skip to content
Browse files

Possible fix for #19 - check the oncall assignment enable box on edit…

… form
  • Loading branch information...
1 parent 25ef156 commit 632656956c5b63a94801851d3799768b62625362 @porcupie porcupie committed Nov 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/requests/call_lists_spec.rb
View
2 spec/requests/call_lists_spec.rb
@@ -34,6 +34,8 @@
visit new_call_list_path
fill_in "call_list[name]", :with => 'calllist3'
fill_in "call_list[twilio_list_id]", :with => (rand(2132)).to_i
+ # NOTE: oncall assignment does not show on view unless enabled
+ check "call_list[oncall_assignments_gen_attributes][enable]"
fill_in "call_list[oncall_assignments_gen_attributes][cycle_time]", :with => "1:23 AM"
click_button "Create Call list"
call_list_id = File.basename(current_path)

0 comments on commit 6326569

Please sign in to comment.
Something went wrong with that request. Please try again.