Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 1533 Bytes
1 | Feature: Proper content negotiation |
2 | In order to have a more rich and flexible editing and browsing experience |
3 | a content editor |
4 | wants to access the admin section with multiple content formats |
5 | |
6 | Scenario: Default to HTML format |
7 | Given I am logged in as "admin" |
8 | When I send an "Accept" header of "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" |
9 | And I go to the "pages" admin page |
10 | Then I should not see "Missing template" |
11 | |
12 | Scenario: Requesting XML format via file-extension |
13 | Given I am logged in as "admin" |
14 | When I send an "Accept" header of "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" |
15 | And I go to the "pages" admin page as xml |
16 | Then I should see an xml document |
17 | |
18 | Scenario: Requesting children via Ajax |
19 | Given I am logged in as "admin" |
20 | When I send an "Accept" header of "text/javascript, text/html, application/xml, text/xml, */*" |
21 | And I send an "X-Requested-With" header of "XMLHttpRequest" |
22 | And I request the children of page "home" |
23 | Then I should not see "Radiant CMS" |
24 | And I should see "<tr>" tags in the page source |