Skip to content

Commit

Permalink
Make the tests go green.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbellone committed Dec 11, 2014
1 parent aea4f02 commit aa9b223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/attributes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
let(:chef_run) { ChefSpec::Runner.new(platform: 'ubuntu', version: '12.04').converge(described_recipe) }

context 'sets default attributes' do
it { expect(chef_run.node.consul.base_url).to eq('https://dl.bintray.com/mitchellh/consul/') }
it { expect(chef_run.node.consul.base_url).to eq("https://dl.bintray.com/mitchellh/consul/%{version}.zip") }
end
end
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("/opt/go/bin/go version | grep \"go1.2 \"").and_return(false)
stub_command("/usr/local/go/bin/go version | grep \"go1.2 \"").and_return(false)
end

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

0 comments on commit aa9b223

Please sign in to comment.