Sha256: 7f51ba292cd29f938a9a928fc8b3c704c03f82870d5310d4bf1700ec909a6dec
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
require 'test_helper' class OnCampusTest < ActionController::TestCase include OnCampus test "should be on campus" do ip = '152.14.1.1' on_campus = on_campus?(ip) assert on_campus end test "should not be on campus" do ip = '152.2.1.1' on_campus = on_campus?(ip) assert_not on_campus end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quick_search-core-0.0.1 | test/controllers/concerns/on_campus_test.rb |
quick_search-core-0.0.1.test | test/controllers/concerns/on_campus_test.rb |