summaryrefslogtreecommitdiff
path: root/spec/integration/core
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-22 20:21:55 -0600
committermo khan <mo.khan@gmail.com>2020-04-22 20:21:55 -0600
commit299f58ba5c7a0a3685def55632a450b021397012 (patch)
tree3a03d6fe57d25813e34beb267e1b57456eb1ea85 /spec/integration/core
parent1c8a5919c8a08f4f59d957a9aee14d22a6b3de9d (diff)
Fix broken specs
Diffstat (limited to 'spec/integration/core')
-rw-r--r--spec/integration/core/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/core/git_spec.rb b/spec/integration/core/git_spec.rb
index 59b8aa9..19307af 100644
--- a/spec/integration/core/git_spec.rb
+++ b/spec/integration/core/git_spec.rb
@@ -14,10 +14,10 @@ RSpec.describe Spandx::Core::Git do
it { expect(subject.url).to eql(url) }
end
- describe '#path' do
+ describe '#root' do
let(:expected_path) { File.expand_path(File.join(ENV['HOME'], '.local', 'share', 'spdx', 'license-list-data')) }
- it { expect(subject.path).to eql(expected_path) }
+ it { expect(subject.root).to eql(expected_path) }
end
describe 'update!' do