diff options
Diffstat (limited to 'spec/mspec/lib/mspec/matchers/match_yaml.rb')
-rw-r--r-- | spec/mspec/lib/mspec/matchers/match_yaml.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/mspec/lib/mspec/matchers/match_yaml.rb b/spec/mspec/lib/mspec/matchers/match_yaml.rb index 542dece2b4..920d85a14f 100644 --- a/spec/mspec/lib/mspec/matchers/match_yaml.rb +++ b/spec/mspec/lib/mspec/matchers/match_yaml.rb @@ -39,9 +39,8 @@ class MatchYAMLMatcher end end -class Object - def match_yaml(expected) +module MSpecMatchers + private def match_yaml(expected) MatchYAMLMatcher.new(expected) end end - |