Skip to content

Commit

Permalink
Merge pull request #101 from opsline/golang-depends-update
Browse files Browse the repository at this point in the history
making it work with golang cookbook 1.4.0
  • Loading branch information
reset committed Dec 17, 2014
2 parents 8d34e11 + ba27d83 commit 0e2f76a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
suggests 'chef-provisioning'

depends 'ark'
depends 'golang', '~> 1.3.0'
depends 'golang', '~> 1.4.0'
depends 'runit'
depends 'yum-repoforge'
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.2.2 \"").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.2.2 \"").and_return(false)
end

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

0 comments on commit 0e2f76a

Please sign in to comment.