require "spec_helper" describe "Google", js: true do describe "just visiting" do before :each do visit 'http://www.google.com/' end it "can visit google" do page.should have_content('Google') end it "should not say Microsoft" do page.should_not have_content('Microsoft') end end end