Sha256: c3c8adb40ebba43ef7dc870d262dd9eb9608bc7511c3b27a6640e8158e5bcce9

Contents?: true

Size: 222 Bytes

Versions: 8

Compression:

Stored size: 222 Bytes

Contents

require "test_helper"

class AccessibleOnlyControllerTest < ActionController::TestCase
  
  test_action :first do
    assert_params %w[a]
  end
  
  test_action :second do
    assert_params %w[a b c d e f g h]
  end
  
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
cjbottaro-param_protected-1.1.0 test/accessible_only_test.rb
param_protected-4.0.0 test/accessible_only_test.rb
param_protected-3.0.0 test/accessible_only_test.rb
param_protected-2.0.0 test/accessible_only_test.rb
param_protected-1.3.1 test/accessible_only_test.rb
param_protected-1.3.0 test/accessible_only_test.rb
param_protected-1.2.0 test/accessible_only_test.rb
param_protected-1.1.0 test/accessible_only_test.rb