spec/stringz_spec.rb in bindata-0.10.0 vs spec/stringz_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/stringz'
describe BinData::Stringz, "when empty" do
before(:each) do
@str = BinData::Stringz.new