spec/spec_helper.rb in berkshelf-7.1.0 vs spec/spec_helper.rb in berkshelf-7.2.0
- old
+ new
@@ -1,9 +1,9 @@
def windows?
!!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
end
-BERKS_SPEC_DATA = File.expand_path("../data", __FILE__)
+BERKS_SPEC_DATA = File.expand_path("data", __dir__)
require "rspec"
require "cleanroom/rspec"
require "webmock/rspec"
require "rspec/its"