Skip to content

Commit 760f2f8

Browse files
author
Dan Woolley
committed
Fix syntax in request test
1 parent cf25ef3 commit 760f2f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/request_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ class RequestTest < Test::Unit::TestCase
6464
end
6565

6666
should "create the SAMLRequest URL parameter with ProtocolBinding" do
67-
settings = Onelogin::Saml::Settings.new
67+
settings = OneLogin::RubySaml::Settings.new
6868
settings.idp_sso_target_url = "http://example.com"
6969
settings.protocol_binding = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST'
70-
auth_url = Onelogin::Saml::Authrequest.new.create(settings)
70+
auth_url = OneLogin::RubySaml::Authrequest.new.create(settings)
7171
assert auth_url =~ /^http:\/\/example\.com\?SAMLRequest=/
7272
payload = CGI.unescape(auth_url.split("=").last)
7373
decoded = Base64.decode64(payload)

0 commit comments

Comments
 (0)