Skip to content

Commit 626b9bc

Browse files
committed
remove noise from test output on missing plugins
1 parent a8a894b commit 626b9bc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

spec/haml-coderay_spec.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
end
3939

4040
describe :render do
41-
context 'given "#!xyz\nfoobar\n"' do
42-
subject { Haml::Filters::CodeRay.render("#!xyz\nfoobar\n") }
41+
context 'given "#!text\nfoobar\n"' do
42+
subject { Haml::Filters::CodeRay.render("#!text\nfoobar\n") }
4343
specify { should include "foobar\n" }
4444
end
4545
end
@@ -83,11 +83,6 @@
8383
specify { should be_a String }
8484
end
8585

86-
context "valid language specifier with nonexistent language" do
87-
subject { Haml::Engine.new(":coderay\n #!nonexistent\n .").render }
88-
specify { should be_a String }
89-
end
90-
9186
context "invalid language specifier" do
9287
subject { lambda { Haml::Engine.new(":coderay\n xml\n .").render } }
9388
specify { should raise_exception(NoMethodError, /downcase.*nil/) }

0 commit comments

Comments
 (0)