Better speccing
This commit is contained in:
@@ -9,6 +9,10 @@ step "I click on translation :translation" do |translation_key|
|
||||
click_on text
|
||||
end
|
||||
|
||||
step 'I visit :path' do |path|
|
||||
visit path
|
||||
end
|
||||
|
||||
step "I wait :number second/seconds" do |number|
|
||||
sleep number.to_f
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user