test/metamagic_test.rb in metamagic-3.1.1 vs test/metamagic_test.rb in metamagic-3.1.2
- old
+ new
@@ -49,9 +49,16 @@
assert_equal %{<title>My Title</title>\n<meta content="My description" name="description" />\n<meta content="one, two, three" name="keywords" />},
metamagic
end
+ test "not adding templates from views" do
+ title "This is a :nonexistent_key"
+
+ assert_equal %{<title>This is a :nonexistent_key</title>},
+ metamagic
+ end
+
test "sorting tags" do
twitter card: :summary
og image: "http://test.com/image.png"
description "My description."
keywords %w{one two three}