From e5e0f3fd0919b17b52edb26121cb8e6d57e1a7f4 Mon Sep 17 00:00:00 2001 From: Radek Wierzbicki Date: Wed, 17 Dec 2014 09:59:48 -0500 Subject: [PATCH] updating stubs --- spec/unit/recipes/default_spec.rb | 2 +- spec/unit/recipes/install_source_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb index 65ee022d..ae58e797 100644 --- a/spec/unit/recipes/default_spec.rb +++ b/spec/unit/recipes/default_spec.rb @@ -16,7 +16,7 @@ end before do - stub_command("/usr/local/go/bin/go version | grep \"go1.3 \"").and_return(false) + stub_command("/usr/local/go/bin/go version | grep \"go1.2.2 \"").and_return(false) end it { expect(chef_run).not_to include_recipe('consul::install_binary') } diff --git a/spec/unit/recipes/install_source_spec.rb b/spec/unit/recipes/install_source_spec.rb index 29ab33e0..aa31cda3 100644 --- a/spec/unit/recipes/install_source_spec.rb +++ b/spec/unit/recipes/install_source_spec.rb @@ -2,7 +2,7 @@ describe_recipe 'consul::install_source' do before do - stub_command("/usr/local/go/bin/go version | grep \"go1.3 \"").and_return(false) + stub_command("/usr/local/go/bin/go version | grep \"go1.2.2 \"").and_return(false) end it { expect(chef_run).to include_recipe('golang::default') }