Created
August 8, 2016 17:07
-
-
Save theonlyrao/6b5ffff569a90a4dfaa8c8d1544f4971 to your computer and use it in GitHub Desktop.
Adding `it` block fixes the error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.feature "AnonymousUserDoesNotSeeLinks", type: :feature do | |
describe "anonymous user" do | |
it "does not see links" do | |
visit root_path | |
within(".header") do | |
expect(page).not_to have_content("Links") | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment