File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ def callback
1313 # this, and certain data needs to be persisted, then the client should
1414 # pass the keys via config.session_keys_to_persist
1515 old_session = session . to_hash
16- puts "Old / pre-reset_session session: #{ old_session } \n \n "
1716
1817 reset_session
1918
Original file line number Diff line number Diff line change 183183 end
184184
185185 context 'when session_keys_to_persist is set' do
186- let ( :session_keys_to_persist ) { 'foo bar ' }
186+ let ( :session_keys_to_persist ) { 'foo' }
187187
188188 it 'persists provided session keys on login' do
189189 set_session ( foo : 'bar' )
190190 post '/auth/rpi'
191191 previous_foo = session [ :foo ]
192- puts "Initial session #{ session . to_hash } \n \n "
193192
194193 expect ( response ) . to redirect_to ( '/rpi_auth/auth/callback' )
195194 follow_redirect!
196195
197- puts "/rpi_auth/auth/callback session: #{ session . to_hash } \n \n "
198-
199196 expect ( session [ :foo ] ) . to eq previous_foo
200197 end
201198 end
You can’t perform that action at this time.
0 commit comments