Sha256: 59dfd3fd4fc2991f75f338a6a568b38bbb4b69d2c40adc3d11c42b7436fd0f2a

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

require './spec_helper.rb'

feature "View the welcome page" do
  scenario "user sees the welcome page" do
    visit "/"
    expect(page).to have_css '.links'
  end
  scenario "user clicks the todos link" do
    visit "/"
    click_link 'View todos'
    page.should have_content "Your todos"
  end
  scenario "user clicks the alert link" do
    visit "/"
    click_link "Alert"
    page.should have_content "you clicked the alert link!"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roadkill-0.0.4 integration/welcome_spec.rb
roadkill-0.0.3 integration/welcome_spec.rb
roadkill-0.0.2 integration/welcome_spec.rb
roadkill-0.0.1 integration/welcome_spec.rb