require 'spec_helper' describe "Pages", type: :feature do before do setup_site(FactoryGirl.create(:admin)) end it "shows a page" do pg = FactoryGirl.create(:page, site: @current_site) visit url_for([pg, only_path: true]) page.should have_content(pg.content) end end