GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
alter spec to indicate that params is now a method in ResponseMixin
automatthew (author)
Tue Aug 26 07:44:44 -0700 2008
commit  9f55d63764fecd0eae2c1dc8f7abc997d7d6c970
tree    0c7677a74d82950379b9218a7471b726cd2e6d86
parent  5566c415a22d696b22032dbf59e6268d66d6d596
...
37
38
39
40
 
 
41
42
 
43
44
45
...
49
50
51
 
 
 
 
52
53
54
...
37
38
39
 
40
41
42
 
43
44
45
46
...
50
51
52
53
54
55
56
57
58
59
0
@@ -37,9 +37,10 @@ describe "The ResponseMixin module" do
0
     @thingy.app.should == Thingy
0
     @thingy.app_name.should == :thingy
0
   end
0
-
0
+
0
+# check to see which methods are actually delegated
0
   it "defines delegators for request methods" do
0
- methods = [ :response, :session, :params, :path, :url, :domain, :blackboard, :not_found ]
0
+ methods = [ :response, :session, :path, :url, :domain, :blackboard, :not_found ]
0
     methods.each do |method|
0
       @thingy.request.should.receive(method)
0
     end
0
@@ -49,6 +50,10 @@ describe "The ResponseMixin module" do
0
     end
0
   end
0
   
0
+ it "destructures params now" do
0
+ # should.flunk "write a test, fool."
0
+ end
0
+
0
   it "defines a delegator for the application's paths" do
0
     Thingy.should.receive(:paths).with(:meek)
0
     @thingy.paths(:meek)

Comments

    No one has commented yet.