spec/peekaboo/configuration_spec.rb in peekaboo-0.3.0 vs spec/peekaboo/configuration_spec.rb in peekaboo-0.4.0

- old
+ new

@@ -48,17 +48,17 @@ end it "should auto-include Peekaboo into any class in its list" do test_class = new_test_class @config.autoinclude_with test_class - lambda { test_class.enable_tracing_on }.should_not raise_exception + lambda { test_class.enable_tracing_for({}) }.should_not raise_exception end it "should auto-include Peekaboo into any class that inherits from a class in its list" do parent_class = new_test_class child_class = Class.new(parent_class) @config.autoinclude_with parent_class - lambda { child_class.enable_tracing_on }.should_not raise_exception + lambda { child_class.enable_tracing_for({}) }.should_not raise_exception end end context "tracing" do it "should have a default implementation" do