spec/spec/expectations/fail_with_spec.rb in rspec-1.0.5 vs spec/spec/expectations/fail_with_spec.rb in rspec-1.0.6
- old
+ new
@@ -1,8 +1,8 @@
require File.dirname(__FILE__) + '/../../spec_helper.rb'
-describe "Spec::Expectations.fail_with with no diff" do
+describe Spec::Expectations, "#fail_with with no diff" do
before(:each) do
@old_differ = Spec::Expectations.differ
Spec::Expectations.differ = nil
end
@@ -21,10 +21,10 @@
after(:each) do
Spec::Expectations.differ = @old_differ
end
end
-describe "Spec::Expectations.fail_with with diff" do
+describe Spec::Expectations, "#fail_with with diff" do
before(:each) do
@old_differ = Spec::Expectations.differ
@differ = mock("differ")
Spec::Expectations.differ = @differ
end