spec/choice_spec.rb in bindata-0.10.0 vs spec/choice_spec.rb in bindata-0.11.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-require File.expand_path(File.dirname(__FILE__)) + '/spec_common'
-require File.expand_path(File.dirname(__FILE__)) + '/example'
+require File.expand_path(File.join(File.dirname(__FILE__), "spec_common"))
+require File.expand_path(File.join(File.dirname(__FILE__), "example"))
require 'bindata/choice'
class Chooser
attr_accessor :choice
end