Sha256: 207491cbc910a914fd1efeec979598237c2175fbf5c29f45059caa3ff609313f

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

When /^I visit the first profile$/ do
  doc = Nokogiri::HTML(response_body)
  link_text = doc.search('div#profiles ul a').first['href']

  visit(link_text)
end

Then /^I should see a list of graphs$/ do
  doc = Nokogiri::HTML(response_body)
  doc.search('div#profile div.graph').size.should > 1
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
visage-app-0.2.5 features/step_definitions/site_steps.rb
visage-app-0.2.4 features/step_definitions/site_steps.rb
visage-app-0.2.3 features/step_definitions/site_steps.rb
visage-app-0.2.2 features/step_definitions/site_steps.rb
visage-app-0.2.1 features/step_definitions/site_steps.rb
visage-app-0.2.0 features/step_definitions/site_steps.rb