Last active
August 8, 2016 17:08
-
-
Save theonlyrao/323f297f2976ad700c0eb15dfd570827 to your computer and use it in GitHub Desktop.
Test that produces `method_missing` error from RSpec::Core
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 | |
visit root_path | |
within(".header") do | |
expect(page).not_to have_content("Links") | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment