Permalink
Browse files

Fix Pathname test in 1.8

  • Loading branch information...
judofyr committed Nov 30, 2013
1 parent d86ad47 commit 7d65f3e9177797a1590b754970a6859a01febd7c
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/tilt_template_test.rb
@@ -36,7 +36,7 @@ def prepare
tempfile = Tempfile.new('tilt_template_test')
pathname = Pathname.new(tempfile.path)
inst = MockTemplate.new(pathname)
- assert_equal File.basename(pathname.to_path), inst.basename
+ assert_equal File.basename(tempfile.path), inst.basename
end
class SillyHash < Hash

0 comments on commit 7d65f3e

Please sign in to comment.