Rakefile in solidus_sample-2.5.2 vs Rakefile in solidus_sample-2.6.0.rc1
- old
+ new
@@ -1,14 +1,16 @@
+# frozen_string_literal: true
+
require 'rake'
require 'rake/testtask'
require 'rspec/core/rake_task'
require 'spree/testing_support/dummy_app/rake_tasks'
RSpec::Core::RakeTask.new
task default: :spec
DummyApp::RakeTasks.new(
- gem_root: File.expand_path('../', __FILE__),
+ gem_root: File.expand_path(__dir__),
lib_name: 'solidus_sample'
)
task test_app: 'db:reset'