spec/matchers/be_false_spec.rb in mspec-1.5.17 vs spec/matchers/be_false_spec.rb in mspec-1.5.18
- old
+ new
@@ -1,8 +1,8 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
require 'mspec/expectations/expectations'
-require 'mspec/matchers/be_false'
+require 'mspec/matchers'
describe BeFalseMatcher do
it "matches when actual is false" do
BeFalseMatcher.new.matches?(false).should == true
end
@@ -23,6 +23,6 @@
it "provides a useful negative failure message" do
matcher = BeFalseMatcher.new
matcher.matches?(false)
matcher.negative_failure_message.should == ["Expected false", "not to be false"]
end
-end
\ No newline at end of file
+end