spec/bits_spec.rb in bindata-0.10.0 vs spec/bits_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/bits'
describe "Bits of size 1" do
before(:each) do
@bit_classes = [BinData::Bit1, BinData::Bit1le]