Created
February 15, 2014 04:29
-
-
Save mrinterweb/9014607 to your computer and use it in GitHub Desktop.
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
require 'spec_helper' | |
describe "root path", js: true do | |
before do | |
visit '/' | |
end | |
it "should have some content on the page" do | |
expect(page).to have_content 'Welcome to a special site' | |
end | |
it "should interact with about" do | |
click_link 'About site' | |
expect(page).to have_content 'About Page Header' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment