test/pinterest_test.rb in legitbot-0.1.2 vs test/pinterest_test.rb in legitbot-0.2.0
- old
+ new
@@ -30,8 +30,8 @@
assert bot.valid?, msg: "Valid Pinterest"
end
def test_engine_name
bot = Legitbot.bot("Mozilla/5.0 (compatible; Pinterestbot/1.0; +https://www.pinterest.com/bot.html)", "54.236.1.11")
- assert_equal "Pinterest", bot.detected_as
+ assert_equal :pinterest, bot.detected_as
end
end