Skip to content

Commit 11272a6

Browse files
committed
Fixed typos. Removed double expectation in spec tests
1 parent f61724c commit 11272a6

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- set: ubuntu1804-64
99
- set: centos6-64
1010
- set: centos7-64
11-
# RabbitMQ fails to start via systemd unless /sys/fs/cgroup is mounted through from obase host
11+
# RabbitMQ fails to start via systemd unless /sys/fs/cgroup is mounted through from to base host
1212
- set: centos8-64{mount_folders={sysfscgroup={host_path=/sys/fs/cgroup\,container_path=/sys/fs/cgroup\,opts=ro}}}
1313
appveyor.yml:
1414
delete: true

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,28 @@ suitable Erlang version, is present. On Debian systems, puppetlabs/apt
6060
(>=2.0.0 < 5.0.0) is a soft dependency.
6161

6262
To have a suitable erlang version installed on RedHat and Debian systems,
63-
you have to install another puppet module from http://forge.puppetlabs.com/garethr/erlang with:
63+
you have to install another puppet module from https://forge.puppetlabs.com/garethr/erlang with:
6464

6565
puppet module install garethr-erlang
6666

6767
This module handles the packages for erlang.
6868
To use the module, add the following snippet to your site.pp or an appropriate profile class:
6969

7070
For RedHat systems:
71-
72-
include 'erlang'
73-
class { 'erlang': epel_enable => true}
71+
```puppet
72+
include 'erlang'
73+
class { 'erlang':
74+
epel_enable => true,
75+
}
76+
```
7477

7578
For Debian systems:
76-
77-
include 'erlang'
78-
package { 'erlang-base':
79-
ensure => 'latest',
80-
}
79+
```puppet
80+
include 'erlang'
81+
package { 'erlang-base':
82+
ensure => 'latest',
83+
}
84+
```
8185

8286
This module also depends on voxpupuli/archive to install rabbitmqadmin.
8387

spec/unit/puppet/provider/rabbitmq_plugin/rabbitmqctl_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
expect(provider_class).to respond_to :instances
2121
end
2222

23-
# rubocop:disable RSpec/MultipleExpectation
2423
it 'retrieves instances' do
2524
provider.class.expects(:plugin_list).returns(%w[foo bar])
2625
instances = provider_class.instances
27-
expect(instances.size).to eq(2)
2826
instances_cmp = instances.map { |prov| { name: prov.get(:name) } }
2927
expect(instances_cmp).to eq(
3028
[
@@ -33,7 +31,6 @@
3331
]
3432
)
3533
end
36-
# rubocop:enable RSpec/MultipleExpectation
3734

3835
it 'raises error on invalid line' do
3936
provider_class.expects(:plugin_list).returns([' '])

0 commit comments

Comments
 (0)