Displaying 1 result from an estimated 1 matches for "confirm_i".
Did you mean:
confirm_1
2008 Sep 30
4
Using the response object in stories
I have this statement in the layout of my application (using haml)
- if request.env["HTTP_USER_AGENT"].include?("MSIE")
= stylesheet_link_tag ''blueprint/ie.css''
= stylesheet_link_tag ''confirm_ie.css''
The problem is that request.env["HTTP_USER_AGENT"] is nil when I go to
some page in the features I write with cucumber and webrat
This is the error I get
You have a nil object when you didn''t expect it!
You might have expected an instance of Array....