Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "disable failing constant access test"

This reverts commit d383692.
  • Loading branch information...
commit 81e6b3f82c0d4d81c363bdc9a02e17a40f0a598f 1 parent d2e2601
@rtomayko authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 test/tilt_template_test.rb
View
10 test/tilt_template_test.rb
@@ -150,10 +150,8 @@ class FastPerson < Person
include Tilt::CompileSite
end
- # FAILING CONSTANT TEST. DISABLED FOR 1.0.
-
- # test "template which accesses a constant with Tilt::CompileSite" do
- # inst = SourceGeneratingMockTemplate.new { |t| 'Hey #{CONSTANT}!' }
- # assert_equal "Hey Bob!", inst.render(FastPerson.new("Joe"))
- # end
+ test "template which accesses a constant with Tilt::CompileSite" do
+ inst = SourceGeneratingMockTemplate.new { |t| 'Hey #{CONSTANT}!' }
+ assert_equal "Hey Bob!", inst.render(FastPerson.new("Joe"))
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.