Fix user session mix-up (bnc#542143).
authorMartin Vidner <mvidner@suse.cz>
Tue, 27 Oct 2009 13:06:07 +0000 (14:06 +0100)
committerMartin Vidner <mvidner@suse.cz>
Tue, 27 Oct 2009 14:04:41 +0000 (15:04 +0100)
commit977555a3004f1cb695b19617313c73bc1994719c
treef58cf74a748a659463101703de345db3bc7d7bf8
parentea064716afc7564e0f56e3163dbcc0cdc74d3b5c
Fix user session mix-up (bnc#542143).

by resetting the info in a global before_filter.

The test case uses fakeweb which is not packaged.
If not found, the case passes.
webclient/app/controllers/application_controller.rb
webclient/test/fixtures/ws-responses/login-bad.curl [new file with mode: 0644]
webclient/test/fixtures/ws-responses/login-better.curl [new file with mode: 0644]
webclient/test/fixtures/ws-responses/login-good.curl [new file with mode: 0644]
webclient/test/integration/two_sessions_test.rb [new file with mode: 0644]