Sha256: 7d257418cf05d03e69fef1e12ff4791a52b603208552ee45f97f70e4347d1996

Contents?: true

Size: 829 Bytes

Versions: 9

Compression:

Stored size: 829 Bytes

Contents

Given /^a feature file named "([^"]*)" with the contents:$/ do |filename, contents|
  @contents = contents
  create_feature("project", filename, @contents)
end

When /^I visit the project page$/ do
  visit "/projects/project"
end

When /^I visit the sample feature page$/ do
  visit "/projects/project/features/sample-feature"
end

When /^I select "([^"]*)"$/ do |text|
  click_link text
end

Then /^I see a link to "([^"]*)" with the url "([^"]*)"$/ do |text, url|
  page.should have_link text, :href => url
end

Then /^I see "([^"]*)"$/ do |text|
  page.should have_content(text)
end

Then /^the total tag count is displayed$/ do
  save_and_open_page
end

Then /^I see each tag has an individual colour$/ do
 find('a.tag-tag1').should be_visible
 find('a.tag-tag2').should be_visible
 find('a.tag-tag3').should be_visible
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
nuker-2.0.0 features/step_definitions/steps.rb
nuker-1.0.0 features/step_definitions/steps.rb
wally-0.0.47 features/step_definitions/steps.rb
wally-0.0.46 features/step_definitions/steps.rb
wally-0.0.45 features/step_definitions/steps.rb
wally-0.0.44 features/step_definitions/steps.rb
wally-0.0.43 features/step_definitions/steps.rb
wally-0.0.42 features/step_definitions/steps.rb
wally-0.0.41 features/step_definitions/steps.rb