search for: browser_title

Displaying 1 result from an estimated 1 matches for "browser_title".

2008 Jun 02
1
Looking for help on two issues with Rails 2.1 and RSpec 1.14
...helper specs, instance variables don''t get set unless the HelperModule is included. Using the preferred helper.<method> I can''t seem to find a way to check that an instance variable is set: I have several specs that used to look like: it "page_title should assign @browser_title" do page_title("foo") @browser_title.should == "foo" end Now changed to: it "page_title should assign @browser_title" do helper.page_title("foo") helper.assigns[:browser_title].should == "foo" # also tried: assigns[:b...