features/step_definitions/site_steps.rb in visage-app-0.9.4 vs features/step_definitions/site_steps.rb in visage-app-0.9.5
- old
+ new
@@ -4,9 +4,14 @@
visit(link_text)
end
Then /^I should see a list of graphs$/ do
+ begin
+ follow_redirect!
+ rescue Rack::Test::Error
+ end
+
doc = Nokogiri::HTML(response_body)
doc.search('div#profile div.graph').size.should > 0
end
Then /^I should see a list of profiles$/ do