[rspec-devel] [ rspec-Feature Requests-13661 ] View Specs - Allow controller to be defined (default to ApplicationController)

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 19 00:27:45 EST 2007


Feature Requests item #13661, was opened at 2007-09-04 19:29
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=13661&group_id=797

Category: rails plugin
Group: None
Status: Open
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: View Specs - Allow controller to be defined (default to ApplicationController)

Initial Comment:
This will give the view access to helper_methods defined in the controller.

e.g.

describe "foo/show.erb" do
  controller_name "foo"

  it "should have method defined from foo controller" do
    template.foobar.should == "I'm defined in FooController"
  end
end


----------------------------------------------------------------------

Comment By: Chad Humphries (spicycode)
Date: 2007-11-19 00:27

Message:
Moved to http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/117-13661-view-specs-allow-controller-to-be-defined-default-to-applicationcontroller

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=13661&group_id=797


More information about the rspec-devel mailing list