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

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Make Provide controller matcher doc conform to Merb standards.
Thu May 01 23:38:11 -0700 2008
commit  2ee84cf1afdfaf533d5f524a900f3441517e89bb
tree    61a8f9e3e8116827460267679c73cfe0d4f804a4
parent  715b1200f0c92e6d6dd525694f235d1286f4414d
...
57
58
59
60
 
61
62
63
...
161
162
163
164
 
165
166
167
168
 
169
170
171
...
202
203
204
205
 
206
207
208
...
244
245
246
247
 
248
249
250
...
272
273
274
275
 
276
277
278
...
307
308
309
 
 
 
310
311
312
...
57
58
59
 
60
61
62
63
...
161
162
163
 
164
165
166
167
 
168
169
170
171
...
202
203
204
 
205
206
207
208
...
244
245
246
 
247
248
249
250
...
272
273
274
 
275
276
277
278
...
307
308
309
310
311
312
313
314
315
0
@@ -57,7 +57,7 @@ module Merb::Test::Rspec::ControllerMatchers
0
     def failure_message
0
       msg = "expected #{inspect_target} to redirect to <#{@expected}>, but "
0
       if @redirected
0
- msg << "was <#{target_location}>"
0
+ msg << "was <#{target_location}>"
0
       else
0
         msg << "there was no redirection"
0
       end
0
@@ -161,11 +161,11 @@ module Merb::Test::Rspec::ControllerMatchers
0
   class Provide
0
 
0
     # === Parameters
0
- # Symbol:: A format to check
0
+ # expected<Symbol>:: A format to check
0
     def initialize(expected)
0
       @expected = expected
0
     end
0
-
0
+
0
     # ==== Parameters
0
     # target<Symbol>::
0
     # A ControllerClass or controller_instance
0
@@ -202,7 +202,7 @@ module Merb::Test::Rspec::ControllerMatchers
0
   # ==== Examples
0
   # # Passes if the controller was redirected
0
   # controller.should redirect
0
- #
0
+ #
0
   # # Also works if the target is the response code
0
   # controller.status.should redirect
0
   #
0
@@ -244,7 +244,7 @@ module Merb::Test::Rspec::ControllerMatchers
0
   # ==== Examples
0
   # # Passes if the controller call was successful
0
   # controller.should respond_successfully
0
- #
0
+ #
0
   # # Also works if the target is the response code
0
   # controller.status.should respond_successfully
0
   #
0
@@ -272,7 +272,7 @@ module Merb::Test::Rspec::ControllerMatchers
0
   # ==== Examples
0
   # # Passes if the controller call was unknown or not understood
0
   # controller.should be_missing
0
- #
0
+ #
0
   # # Also passes if the target is a response code
0
   # controller.status.should be_missing
0
   #
0
@@ -307,6 +307,9 @@ module Merb::Test::Rspec::ControllerMatchers
0
 
0
   # Passes if the controller actually provides the target format
0
   #
0
+ # === Parameters
0
+ # expected<Symbol>:: A format to check
0
+ #
0
   # ==== Examples
0
   # ControllerClass.should provide( :html )
0
   # controller_instance.should provide( :xml )

Comments

    No one has commented yet.