So, you’ve set up your Rails app to present different views to authenticated people verses non. Now, how do you test functionality for the authenticated people? Seems silly to have your tests sign in before checking whatever it is you want them to check. Well, pass the session data in the test as a hash. …
Continue reading “Passing Sessions and Referers in Rails Functional Tests”