Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 390
- Log:
Initial import of Canvass, a donations-based poll application.
- Author:
- rool
- Date:
- Mon Mar 21 14:58:04 +0000 2011
- Size:
- 432 Bytes
1 | require File.dirname(__FILE__) + '/base' |
2 | |
3 | describe YamlDb::Utils, " convert records utility method" do |
4 | |
5 | it "turns an array with one record into a yaml chunk" do |
6 | YamlDb::Utils.chunk_records([ %w(a b) ]).should == <<EOYAML |
7 | - - a |
8 | - b |
9 | EOYAML |
10 | end |
11 | |
12 | it "turns an array with two records into a yaml chunk" do |
13 | YamlDb::Utils.chunk_records([ %w(a b), %w(x y) ]).should == <<EOYAML |
14 | - - a |
15 | - b |
16 | - - x |
17 | - y |
18 | EOYAML |
19 | end |
20 | |
21 | end |