File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def validate(credentials)
3838 end
3939
4040 def extra_attributes
41- @extra_attributes
41+ @extra_attributes . stringify_keys
4242 end
4343
4444 protected
Original file line number Diff line number Diff line change @@ -785,4 +785,4 @@ def authenticated_username
785785 end
786786 end
787787 end
788- end
788+ end
Original file line number Diff line number Diff line change 5050 :request => { }
5151 ) . should == true
5252
53- auth . extra_attributes . should == { : full_name => 'Test' , : address => 'Test' }
53+ auth . extra_attributes . should == { " full_name" => 'Test' , " address" => 'Test' }
5454 end
5555
5656 end
Original file line number Diff line number Diff line change 185185 it { should be_ok }
186186 its ( :content_type ) { should match 'text/xml' }
187187 its ( :body ) { should match /cas:authenticationSuccess/i }
188- its ( :body ) { should match '<test_utf_string>Ютф</test_utf_string>' }
188+ its ( :body ) { should match '<cas: test_utf_string>Ютф</cas: test_utf_string>' }
189189 end
190190
191191 context 'from unallowed IP' do
You can’t perform that action at this time.
0 commit comments