Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix test paths for Ruby 1.9

  • Loading branch information...
commit d4a435250cc6e3d87555073bc5d557d784c0a109 1 parent 8e7a034
Marc-André Lafortune authored
2  README.rdoc
View
@@ -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
2  test/packing_doc_test.rb
View
@@ -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
2  test/packing_test.rb
View
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper'
+require File.expand_path(File.dirname(__FILE__) + '/test_helper')
# Warning: ugly...
class XYZ
Please sign in to comment.
Something went wrong with that request. Please try again.