spec/rspec/matchers/match_spec.rb in rspec-expectations-2.0.0.a2 vs spec/rspec/matchers/match_spec.rb in rspec-expectations-2.0.0.a3
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + '/../../spec_helper.rb'
+require 'spec_helper'
describe "should match(expected)" do
it "should pass when target (String) matches expected (Regexp)" do
"string".should match(/tri/)
end