Sha256: 8245769bc55ee480ca7454600586ac9a93d7e91f0ec375790c4c26c00f1cfad4
Contents?: true
Size: 371 Bytes
Versions: 3
Compression:
Stored size: 371 Bytes
Contents
require 'test_helper' class SecretsControllerTest < ActionController::TestCase test "controllers are locked by default" do # Test that the "lock_access" call in ApplicationController works properly. # There are no access rules in SecretsController but it should be locked anyway. get :index, nil, {role: :admin} assert_redirected_to root_url end end
Version data entries
3 entries across 3 versions & 1 rubygems