Sha256: 74ce978502da8453193bd0f9a7fa8bc54535d4a6b8c34ec3d822d8261acf0a6f
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
require 'test_helper' class StaticControllerTest < ActionController::TestCase # Test that the :all key works properly test "anyone can do anything" do get :home, nil, {role: :admin} assert_response :success get :home, nil, {role: :undefined} assert_response :success get :home assert_response :success end end
Version data entries
3 entries across 3 versions & 1 rubygems