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:
- 1110 Bytes
1 | Given /^There are many snippets$/ do |
2 | 100.times do |i| |
3 | Snippet.create(:name => "snippet_#{i}", :content => "This is snippet #{i}") |
4 | end |
5 | end |
6 | |
7 | Given /^There are few snippets$/ do |
8 | # |
9 | end |
10 | |
11 | Then /^I should not see pagination controls$/ do |
12 | response.body.should_not have_tag('div.pagination') |
13 | end |
14 | |
15 | Then /^I should not see a depagination link$/ do |
16 | response.body.should_not have_tag('div.depaginate') |
17 | end |
18 | |
19 | Then /^I should see pagination controls$/ do |
20 | response.body.should have_tag('div.pagination') |
21 | end |
22 | |
23 | Then /^I should see page (\d+) of the results$/ do |p| |
24 | response.body.should have_tag('div.pagination') do |
25 | with_tag("span.current", :text => p) |
26 | end |
27 | end |
28 | |
29 | Then /^I should see a depagination link$/ do |
30 | response.body.should have_tag('div.depaginate') do |
31 | with_tag("a", :text => "show all") |
32 | end |
33 | end |
34 | |
35 | Then /^I should mention the request parameters$/ do |
36 | puts "!! params: #{request.params.inspect}" |
37 | true |
38 | end |
39 | |
40 | Then /^I should see all the snippets$/ do |
41 | Snippet.all.each do |snippet| |
42 | response.body.should have_tag('tr.node') do |
43 | with_tag("a", :text => snippet.name) |
44 | end |
45 | end |
46 | end |