Sha256: 4b1f209e11ea95fdf4052378f4de7c151ba218c638aeb13e6c3be7b00de3a8db

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

require 'spec_helper'

describe "Pages" do
  before do
    setup_site
  end

  it "shows a page" do
    pg = FactoryGirl.create(:page)
    visit post_path(pg)
    page.should have_content(pg.title)
    page.should have_content(pg.content)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storytime-0.0.2 spec/features/pages_spec.rb