Sha256: dbf7f6fbf463b437480f40693e1180ea756b57d26ff44aba46c4e62ac9549c17

Contents?: true

Size: 1.21 KB

Versions: 58

Compression:

Stored size: 1.21 KB

Contents

Feature: View content page
  As a user
  I want to be able to view a page from the content system

# TODO can't browse to /about-us since it doesn't exist in the routes.  Figure out if there 

Scenario: Anonymous user visits the about us page in the root
  Given I am not logged in
  And There is a content page with the title "About Us" and the body "Hello World"
  When I browse to url "/about-us"
  Then dump response!
  Then I should see "Hello World"

# Scenario: Anonymous user visits nested page
#   Given I am not logged in
#   And There is a content page with the uri "/user/jbasdf/hi" and the body "Hello World"
#   When I browse to url "/user/jbasdf/hi"
#   Then I should see "Hello World"
#   And The page title should be 'hi'
#   
# Scenario: Anonymous user visits a page that does not exist
#   Given I am not logged in
#   When I browse to url "/a/page/that/does/not/exist"
#   Then I should see "404"
#   
# Scenario: Admin user visits a page that does not exist and is prompted to create a new page
#   Given I log in with role "administrator"
#   When I browse to url "/a/page/that/does/not/exist"
#   Then I should see "The page you requested does not exist.  Please provide the information below to create the page."

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
muck-contents-3.0.2 test/rails_test/features/view_contents.feature
muck-contents-3.0.1 test/rails_test/features/view_contents.feature
muck-contents-3.0.0 test/rails_test/features/view_contents.feature
muck-contents-0.2.27 test/rails_root/features/view_contents.feature
muck-contents-0.2.26 test/rails_root/features/view_contents.feature
muck-oauth-0.2.4 test/rails_root/features/view_contents.feature
muck-oauth-0.2.3 test/rails_root/features/view_contents.feature
muck-contents-0.2.25 test/rails_root/features/view_contents.feature
muck-contents-0.2.24 test/rails_root/features/view_contents.feature
muck-contents-0.2.23 test/rails_root/features/view_contents.feature
muck-oauth-0.2.2 test/rails_root/features/view_contents.feature
muck-contents-0.2.22 test/rails_root/features/view_contents.feature
muck-contents-0.2.21 test/rails_root/features/view_contents.feature
muck-oauth-0.2.1 test/rails_root/features/view_contents.feature
muck-oauth-0.2.0 test/rails_root/features/view_contents.feature
muck-contents-0.2.20 test/rails_root/features/view_contents.feature
muck-oauth-0.1.11 test/rails_root/features/view_contents.feature
muck-contents-0.2.18 test/rails_root/features/view_contents.feature
muck-oauth-0.1.9 test/rails_root/features/view_contents.feature
muck-oauth-0.1.8 test/rails_root/features/view_contents.feature