title: Changing the value of a session variable in specs while testing in Ruby on rails.(with capybara and selenium)
body: <p>I'm currently writing specs for my Ruby on Rails application using Rspec and capybara with selenium to drive the browser.</p>
  
  <p>While executing one of the specs I want to change the value of a session variable.
  Eg: I want to set <code>session[:location]="US"</code> so that I can test my application while all values are seen in $. How do I go about it?</p>