Fix deprecation for not_to raise_error (#5257)

This commit is contained in:
rhymes 2019-12-27 16:00:09 +01:00 committed by Molly Struve
parent d1383ffdb6
commit fa9acf2073

View file

@ -197,7 +197,7 @@ RSpec.describe MarkdownParser, type: :labor do
context "when provided with liquid tags" do
it "does not raises error if liquid tag was used incorrectly" do
bad_ltag = "{% #{random_word} %}"
expect { generate_and_parse_markdown(bad_ltag) }.not_to raise_error(StandardError)
expect { generate_and_parse_markdown(bad_ltag) }.not_to raise_error
end
end