public
Fork of vigetlabs/crash_cart
Description: Tools to manage ExpressionEngine ... maybe.
Clone URL: git://github.com/reagent/crash_cart.git
Search Repo:
Fixed issue with array order for spec expectation
reagent (author)
Tue May 13 19:54:07 -0700 2008
commit  4ecef0ec4bc52b1abd774e97bb1dec9870733b06
tree    6882b786728fd9607c826910912d6f6358c7a7cc
parent  773be0dea30778578f5df47cd53f0c3a886fb8b9
...
31
32
33
34
35
 
 
36
37
38
...
31
32
33
 
 
34
35
36
37
38
0
@@ -31,8 +31,8 @@
0
     end
0
     
0
     it "should allow iterating over its contents" do
0
- expected = [:key_one, :key_two]
0
- keys = @preference.map {|key, value| key }
0
+ expected = %w(key_one key_two)
0
+ keys = @preference.map {|key, value| key.to_s }.sort
0
       
0
       keys.should == expected
0
     end

Comments

    No one has commented yet.