diff --git a/spec/producer/core/condition_spec.rb b/spec/producer/core/condition_spec.rb index 36c606e..94c6f7c 100644 --- a/spec/producer/core/condition_spec.rb +++ b/spec/producer/core/condition_spec.rb @@ -2,8 +2,8 @@ require 'spec_helper' module Producer::Core describe Condition do - include TestsHelpers - + let(:test_ok) { double 'test', pass?: true } + let(:test_ko) { double 'test', pass?: false } let(:tests) { [test_ok, test_ko] } subject(:condition) { Condition.new(tests) } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3578a24..25177cd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,6 @@ require 'producer/core' require 'support/exit_helpers' require 'support/fixtures_helpers' require 'support/net_ssh_story_helpers' -require 'support/tests_helpers' RSpec.configure do |c| diff --git a/spec/support/tests_helpers.rb b/spec/support/tests_helpers.rb deleted file mode 100644 index d5cc9d8..0000000 --- a/spec/support/tests_helpers.rb +++ /dev/null @@ -1,9 +0,0 @@ -module TestsHelpers - def test_ok - double 'test', pass?: true - end - - def test_ko - double 'test', pass?: false - end -end