[rspec-devel] [ rspec-Bugs-14959 ] Issues with config.before and config.after for the default behaviour_type

noreply at rubyforge.org noreply at rubyforge.org
Mon Oct 22 19:06:45 EDT 2007


Bugs item #14959, was opened at 2007-10-22 16:06
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14959&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: Issues with config.before and config.after for the default behaviour_type

Initial Comment:
These examples do not seem to work:
config.before(:each) do
end

config.after(:each) do
end


These examples do seem to work:
config.before(:each, :behaviour_type => :model) do
end

config.after(:each, :behaviour_type => :model) do
end

class Spec::Rails::DSL::ModelExample
  before(:each) do
  end

  after(:each) do
  end
end



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

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


More information about the rspec-devel mailing list