Sha256: 9eb75192e848ed2fd2d9d78f42af8e12658432133f1d750439abd9a127e9450e
Contents?: true
Size: 674 Bytes
Versions: 6
Compression:
Stored size: 674 Bytes
Contents
When /^there are some additional pages and sections$/ do @foo = Factory(:section, :name => "Foo", :parent => root_section) @bar = Factory(:section, :name => "Bar", :parent => @foo) @page = Factory(:page, :name => "Test Page", :section => @bar) end Then /^I should see the new pages and sections$/ do assert page.has_content?("Foo") assert page.has_content?("Bar") assert page.has_content?("Test Page") end When /^I should see the stock CMS pages$/ do assert page.has_content?("My Site") assert page.has_content?("system") assert page.has_content?("Page Not Found") assert page.has_content?("Access Denied") assert page.has_content?("Server Error") end
Version data entries
6 entries across 6 versions & 1 rubygems