Sha256: 3718b16e78c8514108332924177f6f7311f278c7ae39c79bf06781fa69ba536e

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

feature "Viewing the intranet root page" do
  before { create :user }
  
  scenario "Visiting the page" do
    
    # The user is *not* logged in. 
    # Just visit the start page.
    visit root_path
    
    # This should redirect to the login page.
    within("#content_area") do
      page.should have_content I18n.t(:login)
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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