Fix all failing specs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user