Displaying 2 results from an estimated 2 matches for "helpermodule".
2008 Jun 02
1
Looking for help on two issues with Rails 2.1 and RSpec 1.14
...ave specs that ran fine in Rails 2.02/RSpec 1.13 that are failing on
Rails 2.1/RSpec 1.14.
There is one problem and one issue:
problem: sometimes (but not always) I get a NoMethodError referencing a
has_many association
issue: in 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...
2008 May 14
3
description method and test failures
Hi all,
Hoping you can help. I have a project using rspec 1.1.3 and rails
2.0.2. I''ve run into a small problem. Said project has a method in
application_helper.rb named "description". Whenever a spec test
fails, I see a message like so:
*snip*/vendor/plugins/rspec/lib/spec/runner/reporter.rb:37:in
`description'': wrong number of arguments (0 for 2)