Sha256: 6a1a5c2f65768ff23b0bdc34420c96c7c574edb747e802f431e8e098ece3de18

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

require 'spec_helper'

# Feature: 'About' page
#   As a visitor
#   I want to visit an 'about' page
#   So I can learn more about the website
feature 'About page' do

  # Scenario: Visit the 'about' page
  #   Given I am a visitor
  #   When I visit the 'about' page
  #   Then I see "About the Website"
  scenario 'Visit the about page' do
    visit 'pages/about'
    expect(page).to have_content 'About the Website'
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_apps_pages-0.4.5 lib/generators/pages/about/templates/about_page_spec.rb
rails_apps_pages-0.4.4 lib/generators/pages/about/templates/about_page_spec.rb
rails_apps_pages-0.4.3 lib/generators/pages/about/templates/about_page_spec.rb
rails_apps_pages-0.4.2 lib/generators/pages/about/templates/about_page_spec.rb
rails_apps_pages-0.4.1 lib/generators/pages/about/templates/about_page_spec.rb
rails_apps_pages-0.4.0 lib/generators/pages/about/templates/about_page_spec.rb