Sha256: 315c1613a7632a56279422cef2e2ec2aaa238f771c95e50d38870b74e52bc3a7
Contents?: true
Size: 500 Bytes
Versions: 7
Compression:
Stored size: 500 Bytes
Contents
Given /^I am a new visitor$/ do clear_cookies end When /^I view "([^\"]*)"$/ do |path| visit(path) end When /^(\d+) visitors view "([^\"]*)"$/ do |count, path| count.to_i.times do visit(path) clear_cookies end end When /^I view "([^\"]*)" (\d+) times$/ do |path, count| count.to_i.times{visit(path)} end Then /^I should see "([^\"]*)"$/ do |content| assert_contain(content) end Then /^I should be on "([^\"]*)"$/ do |path| assert_equal path, URI.parse(current_url).path end
Version data entries
7 entries across 7 versions & 1 rubygems