Sha256: 62a7816e2577ff7d09432d4a345b9dda103af332c25dc760ca4a2dd5cb1faee8

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

require 'spec_helper'

feature 'Pages > Index' do
  include NamedFactories

  scenario 'shows all pages' do
    page_1 = create :page
    capybara_sign_in user_1
    visit '/flms/pages'
    expect(page).to have_content page_1.title
  end
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flms-0.9.0 spec/features/pages/index_spec.rb
flms-0.1.0 spec/features/pages/index_spec.rb
flms-0.0.3 spec/features/pages/index_spec.rb
flms-0.0.2 spec/features/pages/index_spec.rb