Skip to content

Commit

Permalink
updating specs for go 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
opsline-radek committed Dec 17, 2014
1 parent c32d63a commit 4a6abe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
end

before do
stub_command("/usr/local/go/bin/go version | grep \"go1.2 \"").and_return(false)
stub_command("/usr/local/go/bin/go version | grep \"go1.3 \"").and_return(false)
end

it { expect(chef_run).not_to include_recipe('consul::install_binary') }
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/recipes/install_source_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe_recipe 'consul::install_source' do
before do
stub_command("/usr/local/go/bin/go version | grep \"go1.2 \"").and_return(false)
stub_command("/usr/local/go/bin/go version | grep \"go1.3 \"").and_return(false)
end

it { expect(chef_run).to include_recipe('golang::default') }
Expand Down

0 comments on commit 4a6abe3

Please sign in to comment.