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
@@ -1,5 +1,5 @@
step "I provide a new supplier email address" do
find('.supplier-email').set 'new-supplier-mail@mozo.bar'
js_set_field '.supplier-email', 'new-supplier-mail@mozo.bar'
end
step "the supplier submits the supplier settings form" do
@@ -28,7 +28,7 @@ step "an email should have been sent to the original supplier email with email c
end
step "the supplier changes the name to :name in the settings page" do |new_name|
page.find('input.supplier-name').set new_name
js_set_field 'input.supplier-name', new_name
end
step "the supplier clicks on the new email confirmation link" do