spec/spec_helper.rb in ncmb-ruby-client-0.1.3 vs spec/spec_helper.rb in ncmb-ruby-client-0.1.4

- old
+ new

@@ -1,10 +1,13 @@ -$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -$:.unshift(File.dirname(__FILE__)) +# frozen_string_literal: true + +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +$LOAD_PATH.unshift(File.dirname(__FILE__)) + %w(rubygems rspec yaml).each do |f| require f end -require "ncmb" +require 'ncmb' require 'simplecov' require 'simplecov-gem-profile' SimpleCov.minimum_coverage 90 SimpleCov.start 'gem' \ No newline at end of file