Sha256: 0f980f6a914e56a90b97a0d7b75d2cd6221d242aa400cf94317c5d14c8b11966
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
Contents
Feature: Content Files The content management system should serve text and other uploaded files. Background: Given the cms database is populated Scenario: Serve Text Files Given a text file named "/test.txt" exists with: """ Test Content """ When I request /test.txt Then I should see "Test Content" Scenario: Guests viewing protected file Given a protected text file named "/test.txt" exists with: """ Test Content """ When I request /test.txt Then the response should be 403 And I should see a page titled "Access Denied" Scenario: Authorized users viewing protected file Given a protected text file named "/test.txt" exists with: """ Test Content """ When login as an authorized user And I request /test.txt Then the response should be 200 And I should see "Test Content" Scenario: Guests viewing an Archived file Given an archived file named "/test.txt" exists When I request /test.txt Then I should see the CMS 404 page
Version data entries
6 entries across 6 versions & 1 rubygems