public
Description: Uber lightweight Merb blogging engine. Make sure you check out the feather-plugins repo as well!
Clone URL: git://github.com/mleung/feather.git
Click here to lend your support to: feather and make a donation at www.pledgie.com !
Updated articles spec to be compatible with dm0.9
fujin (author)
Tue Jul 08 15:52:30 -0700 2008
eldiablo (committer)
Fri Jul 18 12:55:27 -0700 2008
commit  2a8771e796a02c864f6e5552b254ad309bcc0e54
tree    bc92e9c4c65db723c6c1b846fc25e0f68a6bd712
parent  4cb5174ced58d3801765518821dab78cc8bb8bf9
...
10
11
12
13
 
14
15
16
...
10
11
12
 
13
14
15
16
0
@@ -10,7 +10,7 @@ module Admin
0
     describe "/admin/articles" do
0
       it "should get all articles in descending created order" do
0
         Article.should_receive(:all) do |args|
0
- args[:order].should == "created_at DESC"
0
+ args[:order].should == [:created_at.desc]
0
           @articles
0
         end
0
         controller = dispatch_to(Articles, :index) do |controller|

Comments

    No one has commented yet.