spec/bin_spec.rb in licensee-9.6.0 vs spec/bin_spec.rb in licensee-9.7.0
- old
+ new
@@ -6,10 +6,11 @@
end
end
let(:stdout) { output[0] }
let(:stderr) { output[1] }
let(:status) { output[2] }
+ let(:hash) { '46cdc03462b9af57968df67b450cc4372ac41f53' }
context 'without any arguments' do
let(:arguments) { [] }
it 'Returns a zero exit code' do
@@ -19,10 +20,10 @@
it "detects the folder's license" do
expect(stdout).to match('License: MIT License')
end
it 'outputs the hash' do
- expect(stdout).to match('d64f3bb4282a97b37454b5bb96a8a264a3363dc3')
+ expect(stdout).to match(hash)
end
it 'outputs the attribution' do
expect(stdout).to match('2014-2017 Ben Balter')
end