spec/helpers/encode_spec.rb in mspec-1.5.17 vs spec/helpers/encode_spec.rb in mspec-1.5.18
- old
+ new
@@ -1,6 +1,7 @@
-require File.dirname(__FILE__) + '/../spec_helper'
-require 'mspec/helpers/encode'
+require 'spec_helper'
+require 'mspec/guards'
+require 'mspec/helpers'
describe Object, "#encode" do
it "raises an ArgumentError if the str parameter is not a String" do
lambda { encode(Object.new, "utf-8") }.should raise_error(ArgumentError)
end