diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb index db181bc2a98ced3bc5ce6df289c12630c8b58436..39d39c8aecafd142ee5002d7158fe902adb7f6ea 100644 --- a/features/steps/project/redirects.rb +++ b/features/steps/project/redirects.rb @@ -34,9 +34,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps end step 'I click on "Sign In"' do - within '.pull-right' do - click_link "Sign in" - end + first(:link, "Sign in").click end step 'Authenticate' do