Skip to content

Commit 6403892

Browse files
committed
Minor tets fix
1 parent e68af0f commit 6403892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/saml_message_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class RubySamlTest < Minitest::Test
7272

7373
describe 'with a custom setting for message_max_bytesize' do
7474
let(:message_max_bytesize) { 100_00 }
75-
let(:settings) { OneLogin::RubySaml::Settings.new(message_max_bytesize: message_max_bytesize) }
75+
let(:settings) { OneLogin::RubySaml::Settings.new({:message_max_bytesize => message_max_bytesize}) }
7676

7777
it 'uses the custom setting' do
7878
assert_raises(OneLogin::RubySaml::ValidationError, "Encoded SAML Message exceeds #{message_max_bytesize} bytes, so was rejected") do
@@ -83,4 +83,4 @@ class RubySamlTest < Minitest::Test
8383
end
8484
end
8585
end
86-
end
86+
end

0 commit comments

Comments
 (0)