Fix subject name in HasExecutable specs
This commit is contained in:
parent
601e330c04
commit
fc5d35ceb5
@ -3,7 +3,7 @@ require 'spec_helper'
|
|||||||
module Producer::Core
|
module Producer::Core
|
||||||
module Tests
|
module Tests
|
||||||
describe HasExecutable, :env do
|
describe HasExecutable, :env do
|
||||||
subject(:has_env) { HasExecutable.new(env, executable) }
|
subject(:test) { HasExecutable.new(env, executable) }
|
||||||
|
|
||||||
it_behaves_like 'test'
|
it_behaves_like 'test'
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ module Producer::Core
|
|||||||
let(:executable) { 'true' }
|
let(:executable) { 'true' }
|
||||||
|
|
||||||
it 'returns true' do
|
it 'returns true' do
|
||||||
expect(has_env.verify).to be true
|
expect(test.verify).to be true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ module Producer::Core
|
|||||||
let(:executable) { 'some_non_existent_executable' }
|
let(:executable) { 'some_non_existent_executable' }
|
||||||
|
|
||||||
it 'returns false' do
|
it 'returns false' do
|
||||||
expect(has_env.verify).to be false
|
expect(test.verify).to be false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user