Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix unit test errors in spec_rack_commonlogger.rb

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
commit d8d812ec5f8984d271dbf13e40aecf2cf0ac7436 1 parent 6df2248
@FooBarWidget FooBarWidget authored josh committed
Showing with 12 additions and 0 deletions.
  1. +12 −0 test/spec_rack_commonlogger.rb
View
12 test/spec_rack_commonlogger.rb
@@ -46,4 +46,16 @@
res.errors.should.not.be.empty
res.errors.should =~ /"GET \/ " 200 - /
end
+
+ def length
+ self.class.length
+ end
+
+ def self.length
+ 123
+ end
+
+ def self.obj
+ "hello world"
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.