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 dashboard spec to be compatible with dm0.9
fujin (author)
Tue Jul 08 15:52:58 -0700 2008
eldiablo (committer)
Fri Jul 18 12:55:38 -0700 2008
commit  75283c3122f0490e32ac5ad93780d6e9f27f7e33
tree    0a4e544fe3e33d9e899c07a34c44c8ded1759ff9
parent  2a8771e796a02c864f6e5552b254ad309bcc0e54
...
8
9
10
11
 
12
13
14
...
8
9
10
 
11
12
13
14
0
@@ -8,7 +8,7 @@ module Admin
0
 
0
     describe "/admin" do
0
       it "should request dashboard" do
0
- Activity.should_receive(:all).with(:order => "created_at DESC", :limit => 5).and_return(@activity)
0
+ Activity.should_receive(:all).with(:order => [:created_at.desc], :limit => 5).and_return(@activity)
0
         controller = dispatch_to(Dashboard, :index) do |controller|
0
           controller.should_receive(:login_required).and_return(true)
0
           controller.should_receive(:display).with(@activity)

Comments

    No one has commented yet.