Navigation Menu

Skip to content

Commit

Permalink
use has_link matcher instead of has_css
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Mar 26, 2012
1 parent 956a8fd commit 1f682d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/homepage_steps.rb
Expand Up @@ -11,5 +11,5 @@
end

Then /^I should be able to begin the registration process$/ do
page.should have_css("a[href='/sign_up']", text: "Sign up for an account")
page.should have_link("Sign up for an account", href: "/sign_up")
end

0 comments on commit 1f682d1

Please sign in to comment.