mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Nothing warns here today
This commit is contained in:
parent
1db706b5e0
commit
c506fc40a7
1 changed files with 2 additions and 5 deletions
|
@ -28,11 +28,8 @@ class FiltersTest < Haml::TestCase
|
|||
test "should raise error when a Tilt filters dependencies are unavailable for extension" do
|
||||
begin
|
||||
assert_raises Haml::Error do
|
||||
# ignore warnings from Tilt
|
||||
silence_warnings do
|
||||
Haml::Filters.register_tilt_filter "Textile"
|
||||
Haml::Filters.defined["textile"].template_class
|
||||
end
|
||||
Haml::Filters.register_tilt_filter "Textile"
|
||||
Haml::Filters.defined["textile"].template_class
|
||||
end
|
||||
ensure
|
||||
Haml::Filters.remove_filter "Textile"
|
||||
|
|
Loading…
Add table
Reference in a new issue