Browse files

Fix test paths for Ruby 1.9

  • Loading branch information...
1 parent 8e7a034 commit d4a435250cc6e3d87555073bc5d557d784c0a109 @marcandre committed Feb 23, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.rdoc
  2. +1 −1 test/packing_doc_test.rb
  3. +1 −1 test/packing_test.rb
View
2 README.rdoc
@@ -32,7 +32,7 @@ It's easy to make you own classes (un)packable. All the previous goodies are thu
end
=== Filters
-It's also easy to define special shortcuts that will call blocks to (un)pack any classe.
+It's also easy to define special shortcuts that will call blocks to (un)pack any class.
As an example, this could be useful to add special packing features to String (without monkey patching String::pack).
== Installation
View
2 test/packing_doc_test.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper')
# Warning: ugly...
class MyHeader < Struct.new(:signature, :nb_blocks)
include Packable
View
2 test/packing_test.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper')
# Warning: ugly...
class XYZ

0 comments on commit d4a4352

Please sign in to comment.