[rspec-devel] [ rspec-Feature Requests-10695 ] Add fixtures method in shared specs

noreply at rubyforge.org noreply at rubyforge.org
Tue May 8 14:46:49 EDT 2007


Feature Requests item #10695, was opened at 2007-05-08 11:46
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=10695&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: Add fixtures method in shared specs

Initial Comment:
Something like this:

describe "comment/_new_comment", :shared => true, :behaviour_type => "view" do
  fixtures :patent_applications
end

describe "comment/_new_comment", "logged in" do
  it_should_behave_like "comment/_new_comment"
end


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

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


More information about the rspec-devel mailing list