Sha256: 27fa20fc21fc74e498bd33c7b1265ee4d9b7b1033adff99e1ddbb8f4f31b1857

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

load './spec_helper.rb'

feature "Homepage" do
  scenario "user visits the homepage" do
    visit "/"
    page.should have_content "Please login."
  end
  scenario "user logs in with valid information" do
    visit "/"
    fill_in :email, with: "someone@example.com"
    fill_in :password, with: "password"
    click_button :submit
    page.should have_content "You have been successfully logged in!"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roadkill-0.0.4 files/sample_app/tests/acceptance/homepage_spec.rb
roadkill-0.0.3 files/sample_app/tests/integration/homepage_spec.rb
roadkill-0.0.2 files/sample_app/tests/integration/homepage_spec.rb
roadkill-0.0.1 files/sample_app/tests/integration/homepage_spec.rb