spec/features/pages_spec.rb in storytime-0.0.1 vs spec/features/pages_spec.rb in storytime-0.0.2
- old
+ new
@@ -5,10 +5,10 @@
setup_site
end
it "shows a page" do
pg = FactoryGirl.create(:page)
- visit page_path(pg)
+ visit post_path(pg)
page.should have_content(pg.title)
page.should have_content(pg.content)
end
end
\ No newline at end of file