spec/rest_spec.rb in bindata-0.10.0 vs spec/rest_spec.rb in bindata-0.11.0
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-require File.expand_path(File.dirname(__FILE__)) + '/spec_common'
+require File.expand_path(File.join(File.dirname(__FILE__), "spec_common"))
require 'bindata/rest'
describe BinData::Rest do
it "should read till end of stream" do
data = "abcdefghij"