hotsh/rstat.us — pull request #467 by caleywoods (2012-02-01 07:11:16+00:00)
Title: Fix for #466 

Looking for feedback on this!

I've tested it locally and confirmed that it fixes the issue of being logged out when removing a twitter authorization.

I am working on getting the acceptance test to acknowledge the fact that this is occurring but so far haven't had any luck. I would appreciate any tips anyone could give me. In ```tests/acceptance/auth_test.rb``` there's a test called ```can remove twitter from an account```, this should be the test that needs modified.

I cannot however get it to fail. I tried doing:
```ruby
assert has_link? "Log Out"
```

That didn't work, and neither did doing it by specifying the containing element through a CSS node selector. Anyone have ideas how to get the test to fail? I'll be attaching it to this PR once it's ready, don't merge this in yet.