Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 377
- Log:
Various files are in the gem, but apparently not in the source distribution
on GitHub. These have been copied in from the working gem.
- Author:
- rool
- Date:
- Mon Mar 21 13:46:18 +0000 2011
- Size:
- 691 Bytes
1 | require File.dirname(__FILE__) + '/../spec_helper' |
2 | |
3 | describe ArchiveYearIndexPage do |
4 | dataset :archive |
5 | |
6 | before :each do |
7 | @page = pages(:year_index) |
8 | end |
9 | |
10 | it_should_behave_like "Archive index page" |
11 | |
12 | it "should render the <r:archive:children:each /> tag" do |
13 | @page.should render('<r:archive:children:each><r:slug /> </r:archive:children:each>').as('article-2 ').on('/archive/2001/') |
14 | @page.should render('<r:archive:children:each><r:slug /> </r:archive:children:each>').as('article-2 ').on('/archive/2001') |
15 | end |
16 | |
17 | it "should render the <r:title /> tag with interpolated date" do |
18 | @page.should render('<r:title />').as('2000 Archive').on('/archive/2000') |
19 | end |
20 | end |