Fix all failing specs

This commit is contained in:
2015-01-21 19:18:12 +01:00
parent 9a8c364d38
commit 4462be55d1
11 changed files with 29 additions and 28 deletions
@@ -9,7 +9,7 @@ end
step "the supplier fills in the new table form selecting the first section" do
within '.modal' do
find('.number input').set '7'
js_set_field '.number input', 7
find('.section select').find(%|option[value="#{@sections.first.id}"]|).select_option
end
end
@@ -33,7 +33,7 @@ end
step "the supplier changes the table number to :number and section to the last section" do |number|
within '.modal' do
find('.number input').set number
js_set_field '.number input', number
find('.section select').find(%|option[value="#{@sections.last.id}"]|).select_option
end
end