Skip to content

Commit

Permalink
Merge pull request #75 from dlindahl/chore/improve-specs
Browse files Browse the repository at this point in the history
Use example.org in specs
  • Loading branch information
tagliala authored Jan 9, 2024
2 parents e2f6642 + 7bc2fd5 commit ea02831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/omniauth/strategies/cas/logout_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
end
let(:request) { double('request', params:params, env:env) }
let(:params) { { 'url' => url, 'logoutRequest' => logoutRequest } }
let(:url) { 'http://notes.dev/signed_in' }
let(:url) { 'http://example.org/signed_in' }
let(:logoutRequest) do
%Q[
<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion\" ID="123abc-1234-ab12-cd34-1234abcd" Version="2.0" IssueInstant="#{Time.now.to_s}">
Expand Down
2 changes: 1 addition & 1 deletion spec/omniauth/strategies/cas_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
end

describe 'GET /auth/cas' do
let(:return_url) { 'http://myapp.com/admin/foo' }
let(:return_url) { 'http://example.org/admin/foo' }

context 'with a referer' do
let(:url) { '/auth/cas' }
Expand Down

0 comments on commit ea02831

Please sign in to comment.