From fc5d35ceb5c8a73d0456e8a43d9626d58ff5390c Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Thu, 24 Apr 2014 15:52:25 +0000 Subject: [PATCH] Fix subject name in HasExecutable specs --- spec/producer/core/tests/has_executable_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/producer/core/tests/has_executable_spec.rb b/spec/producer/core/tests/has_executable_spec.rb index 4ea161f..0a40ad1 100644 --- a/spec/producer/core/tests/has_executable_spec.rb +++ b/spec/producer/core/tests/has_executable_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' module Producer::Core module Tests describe HasExecutable, :env do - subject(:has_env) { HasExecutable.new(env, executable) } + subject(:test) { HasExecutable.new(env, executable) } it_behaves_like 'test' @@ -12,7 +12,7 @@ module Producer::Core let(:executable) { 'true' } it 'returns true' do - expect(has_env.verify).to be true + expect(test.verify).to be true end end @@ -20,7 +20,7 @@ module Producer::Core let(:executable) { 'some_non_existent_executable' } it 'returns false' do - expect(has_env.verify).to be false + expect(test.verify).to be false end end end