spec/unit/compressors/tgz_spec.rb in omnibus-4.0.0 vs spec/unit/compressors/tgz_spec.rb in omnibus-4.1.0
- old
+ new
@@ -13,12 +13,12 @@
end
end
subject { described_class.new(project) }
- let(:project_root) { "#{tmp_path}/project/root" }
- let(:package_dir) { "#{tmp_path}/package/dir" }
- let(:staging_dir) { "#{tmp_path}/staging/dir" }
+ let(:project_root) { File.join(tmp_path, 'project/root') }
+ let(:package_dir) { File.join(tmp_path, 'package/dir') }
+ let(:staging_dir) { File.join(tmp_path, 'staging/dir') }
before do
create_directory(project_root)
create_directory(package_dir)
create_directory(staging_dir)