features/step_definitions/site_steps.rb in visage-app-1.0.0 vs features/step_definitions/site_steps.rb in visage-app-2.0.0
- old
+ new
@@ -31,10 +31,10 @@
unsorted.should == sorted
end
Then /^I should see a profile heading$/ do
doc = Nokogiri::HTML(response_body)
- doc.search('div#profile h2#profile_name').size.should == 1
+ doc.search('div#profile h2#name').size.should == 1
end
Then /^show me the page source$/ do
puts response_body
end