diff --git a/spec/unit/attributes/default_spec.rb b/spec/unit/attributes/default_spec.rb index f92c4574..93021cd2 100644 --- a/spec/unit/attributes/default_spec.rb +++ b/spec/unit/attributes/default_spec.rb @@ -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 diff --git a/spec/unit/recipes/install_source_spec.rb b/spec/unit/recipes/install_source_spec.rb index 46ce0f24..3bc34bd7 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("/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') }