Sha256: dbda82546129d4d47e74cbf98be1533585232fa067fbe1b9791f19f8cb5c8104

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

require 'spec_helper'

feature "Help Page" do
  include SessionSteps
  background do
    login :user
    @help_page = Page.create_help_page
    @help_page.update_attributes( title: I18n.t( :help ) )
  end

  scenario "clicking on the help button and viewing the help page" do
    visit root_path
    within('#header-bar') do
      click_on I18n.t(:help)
    end

    within("#content_area") do
      page.should have_content I18n.t(:help)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 spec/features/help_page_spec.rb
your_platform-1.0.0 spec/features/help_page_spec.rb
your_platform-0.0.2 spec/features/help_page_spec.rb