Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed May 8, 2019
1 parent 5bfe051 commit 8f2c442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/components/crawler_detection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def not_crawler!(s)
crawler! "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
crawler! "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
crawler! "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)"
crawler! "DiscourseAPI Ruby Gem 0.19.0"
crawler! "Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)"
crawler! "LogicMonitor SiteMonitor/1.0"
crawler! "Java/1.8.0_151"
Expand All @@ -59,6 +58,7 @@ def not_crawler!(s)
not_crawler! "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"
not_crawler! "Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
not_crawler! "Mozilla/5.0 (Linux; Android 6.0; CUBOT DINOSAUR Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36+"
not_crawler! "DiscourseAPI Ruby Gem 0.19.0"
end

end
Expand Down

0 comments on commit 8f2c442

Please sign in to comment.