summaryrefslogtreecommitdiff
path: root/spec/features/google_spec.rb
blob: 86932fb27c0561160647a9911e7934f15fb6e643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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