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:
- 878 Bytes
1 | Given(/^I am logged in as "([^\"]*)"$/) do |user| |
2 | puts "The user, #{user}, does not exist" if users(user.to_sym).nil? |
3 | visit '/admin/login' |
4 | fill_in 'Username', :with => user |
5 | fill_in 'Password', :with => 'password' |
6 | click_button 'Login' |
7 | end |
8 | |
9 | Given /^there are no pages$/ do |
10 | Page.delete_all |
11 | PagePart.delete_all |
12 | end |
13 | |
14 | Given /^there is a homepage$/ do |
15 | page = Page.new_with_defaults |
16 | page.title = "Homepage" |
17 | page.save |
18 | end |
19 | |
20 | Then /^"([^\"]*)" should be selected for "([^\"]*)"$/ do |value, field| |
21 | select_box = field_labeled(field) |
22 | response.should have_tag("select##{select_box.id}") do |
23 | with_tag('option[selected]', :text => value) |
24 | end |
25 | end |
26 | |
27 | When /^I save and open the page$/ do |
28 | save_and_open_page |
29 | end |
30 | |
31 | Then /^I should see an error message$/ do |
32 | response.should have_tag('#error') |
33 | end |
34 | |
35 | Then /^I should see the form$/ do |
36 | response.should have_tag('form') |
37 | end |