public
Description: Rails plugin with helpers to test your app using test/spec.
Homepage: http://agilewebdevelopment.com/plugins/test_spec_on_rails
Clone URL: git://github.com/pelargir/test_spec_on_rails.git
Search Repo:
marked TODOs
Matthew Bass (author)
Sat Jun 28 18:21:57 -0700 2008
commit  7109811984420c5f8819dbdfe0c1f76ce2d0a136
tree    10e2c74d8b71d5a61e0228377534dc652fb9f81e
parent  6e648ea2476a340d812ddd05ce011431761fe0f7
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ end
0
 module Test::Spec::Rails::ShouldNotRedirect
0
   # Test that we weren't redirected
0
   def redirect(options = {})
0
- @object.assert_response :success # FIXME
0
+ @object.assert_response :success # TODO: fix me
0
   end
0
   alias :redirect_to :redirect
0
   alias :redirected :redirect
...
14
15
16
17
 
18
19
20
...
14
15
16
 
17
18
19
20
0
@@ -14,7 +14,7 @@ end
0
 module Test::Spec::Rails::ShouldNotRender
0
   # Test that we didn't render
0
   def redirect(template = '')
0
- @object.assert_response :redirect # FIXME
0
+ @object.assert_response :redirect # TODO: fix me
0
   end
0
 end
0
 
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@ class Test::Spec::Should
0
 
0
   def by(value)
0
     yield
0
- # TODO this should use #should_equal if available
0
+ # TODO: this should use should_equal if available
0
     assert_equal @initial_value + value, @object.send(@method)
0
   end
0
 end

Comments

    No one has commented yet.