Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Pathname test in 1.8

  • Loading branch information...
commit 7d65f3e9177797a1590b754970a6859a01febd7c 1 parent d86ad47
@judofyr judofyr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/tilt_template_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.