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:
- 1087 Bytes
1 | When /^I send an "([^\"]*)" header of "([^\"]*)"$/ do |key, value| |
2 | @request_headers ||= {} |
3 | @request_headers[key] = value |
4 | set_headers |
5 | end |
6 | |
7 | When /^I view a page$/ do |
8 | visit "/admin/pages/#{pages(:home).id}" |
9 | end |
10 | |
11 | When /^I view a snippet$/ do |
12 | visit "/admin/snippets/#{snippets(:first).id}" |
13 | end |
14 | |
15 | When /^I view a layout$/ do |
16 | visit "/admin/layouts/#{layouts(:main).id}" |
17 | end |
18 | |
19 | When /^I view a user$/ do |
20 | visit "/admin/users/#{users(:admin).id}" |
21 | end |
22 | |
23 | When /^I request the children of page "([^\"]*)"$/ do |page| |
24 | parent_page = pages(page.intern) |
25 | set_headers |
26 | visit "/admin/pages/#{parent_page.id}/children", :get, {"level" => "0"} |
27 | end |
28 | |
29 | Then /^(?:|I )should see "<{0,1}([^>"]*)>{0,1}" tags in the page source$/ do |text| |
30 | response.body.should have_tag(text) |
31 | end |
32 | |
33 | Then /^(?:|I )should see an xml document$/ do |
34 | webrat.adapter.xml_content_type?.should be_true |
35 | end |
36 | |
37 | Then /^(?:|I )should not see an xml document$/ do |
38 | webrat.adapter.xml_content_type?.should_not be_true |
39 | end |
40 | |
41 | def set_headers |
42 | @request_headers.each do |k,v| |
43 | header(k, v) |
44 | end unless @request_headers.blank? |
45 | end |
46 | |
47 |