Qwaiter supplier on Ember 1.0
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
step "there is a fresh database with a user and supplier" do
|
||||
CouchPotato.couchrest_database.recreate!
|
||||
create_confirmed_supplier 'supplier@qwaiter.com'
|
||||
create_user 'user@qwaiter.com'
|
||||
end
|
||||
|
||||
step "I click on translation :translation" do |translation_key|
|
||||
text = I18n.t(translation_key)
|
||||
click_on text
|
||||
end
|
||||
step "I wait :number second/seconds" do |number|
|
||||
sleep number.to_f
|
||||
end
|
||||
Reference in New Issue
Block a user