Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 34f4f06

Browse files
committed
Fix chefspec matchers
1 parent e31db5d commit 34f4f06

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libraries/matchers.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# used by ChefSpec for LWRPs
33

44
if defined?(ChefSpec)
5-
ChefSpec::Runner.define_runner_method(:logstash_instance)
6-
ChefSpec::Runner.define_runner_method(:logstash_config)
7-
ChefSpec::Runner.define_runner_method(:logstash_pattern)
8-
ChefSpec::Runner.define_runner_method(:logstash_plugins)
9-
ChefSpec::Runner.define_runner_method(:logstash_service)
10-
ChefSpec::Runner.define_runner_method(:logstash_curator)
5+
ChefSpec.define_matcher(:logstash_instance)
6+
ChefSpec.define_matcher(:logstash_config)
7+
ChefSpec.define_matcher(:logstash_pattern)
8+
ChefSpec.define_matcher(:logstash_plugins)
9+
ChefSpec.define_matcher(:logstash_service)
10+
ChefSpec.define_matcher(:logstash_curator)
1111

1212
# LWRP - Instance
1313
def create_logstash_instance(name)

0 commit comments

Comments
 (0)