Extract the hostip.info stubbing into a common method.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Nov 2016 16:00:47 +0000 (16:00 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Nov 2016 16:00:47 +0000 (16:00 +0000)
commit7cc1cc618d1512314a5942188db58f03113fe56e
tree3cba2bc0a49fcc30e0667df69c91f47ff4f13540
parent4d73706ff349e043ca62612e977ae600e8cae4ad
Extract the hostip.info stubbing into a common method.

There doesn't appear to be any before(:suite) equivalent for Minitest
so this is the least-surprising way to do this.
test/controllers/site_controller_test.rb
test/controllers/user_controller_test.rb
test/integration/oauth_test.rb
test/integration/page_locale_test.rb
test/integration/user_roles_test.rb
test/integration/user_terms_seen_test.rb
test/test_helper.rb