Sha256: 0fe91d54f9159ddfc260688a410977d0bafbe9946f06d921c4d26ffe63625234

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

require 'spec_helper'

describe "Pages" do
  before do
    setup_site
  end

  it "shows a page" do
    pg = FactoryGirl.create(:page)
    visit url_for([pg, only_path: true])
    page.should have_content(pg.content)
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
storytime-1.2.0 spec/features/pages_spec.rb
storytime-1.1.1 spec/features/pages_spec.rb
storytime-1.0.7 spec/features/pages_spec.rb
storytime-1.0.6 spec/features/pages_spec.rb
storytime-1.0.5 spec/features/pages_spec.rb
storytime-1.0.2 spec/features/pages_spec.rb
storytime-1.0.1 spec/features/pages_spec.rb
storytime-1.0.0 spec/features/pages_spec.rb
storytime-0.0.4 spec/features/pages_spec.rb