summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Cassiba <samuel@cassi.ba>2018-12-10 07:40:22 -0800
committerSamuel Cassiba <samuel@cassi.ba>2018-12-14 23:55:16 -0800
commitfd7ca4eddf032d08832508d2c49136d0d8922503 (patch)
tree1928ccd8c76fd16a46aeb5a610f67de50196146c /spec
parent3d6d2c9f37134b5e65ad43258ad38d2cae690407 (diff)
Convert hyphens to underscores for service names
The Chef Style Guide[1] does not recommend using hyphens for cookbook or resource names. To maintain consistency, we should follow best practices. [1]: https://docs.chef.io/ruby.html#use-of-hyphens Depends-On: Ic2b6d8f1cdf719791faaebdbd7e29e789eb3f31c Change-Id: Ib8c788f69e9545b2d7121199590e3795f2212c7f
Notes
Notes (review): Code-Review+2: Christoph Albers <c.albers@x-ion.de> Workflow+1: Jan Klare <j.klare@cloudbau.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 08 Jan 2019 15:36:11 +0000 Reviewed-on: https://review.openstack.org/624257 Project: openstack/cookbook-openstack-block-storage Branch: refs/heads/master
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 5a04965..073be16 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -53,7 +53,7 @@ shared_context 'block-storage-stubs' do
53 .with('user', 'ibmnas_admin') 53 .with('user', 'ibmnas_admin')
54 .and_return('test_pass') 54 .and_return('test_pass')
55 allow_any_instance_of(Chef::Recipe).to receive(:rabbit_transport_url) 55 allow_any_instance_of(Chef::Recipe).to receive(:rabbit_transport_url)
56 .with('block-storage') 56 .with('block_storage')
57 .and_return('rabbit://guest:mypass@127.0.0.1:5672') 57 .and_return('rabbit://guest:mypass@127.0.0.1:5672')
58 stub_command('/usr/sbin/httpd -t').and_return(true) 58 stub_command('/usr/sbin/httpd -t').and_return(true)
59 stub_command('/usr/sbin/apache2 -t').and_return(true) 59 stub_command('/usr/sbin/apache2 -t').and_return(true)