Sha256: 31ac3dd2498db388e709aee7d82a7664c50e1240aa470cbb915e2906fb9903df

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metry-1.0.0 radiant/example/features/step_definitions/web.rb
metry-1.0.1 radiant/example/features/step_definitions/web.rb
metry-1.1.0 radiant/example/features/step_definitions/web.rb