spec/spec/example/example_group_spec.rb in rspec-1.2.2 vs spec/spec/example/example_group_spec.rb in rspec-1.2.3
- old
+ new
@@ -276,12 +276,12 @@
after do
ExampleGroupFactory.reset
end
- it "should send reporter add_example_group" do
+ it "should send reporter example_group_started" do
+ reporter.should_receive(:example_group_started)
example_group.run(options)
- reporter.example_groups.should == [example_group]
end
it "should run example on run" do
example_ran = false
example_group.it("should") {example_ran = true}