Skip to content

Commit

Permalink
Add matcher for mysql2_chef_gem_mariadb
Browse files Browse the repository at this point in the history
Adds a matcher for the `mysql2_chef_gem_mariadb` resource.
  • Loading branch information
Marc Cirauqui committed Oct 11, 2017
1 parent 3d191fc commit 702cb59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
def install_mysql2_chef_gem(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:mysql2_chef_gem, :install, resource_name)
end

def install_mysql2_chef_gem_mariadb(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:mysql2_chef_gem_mariadb, :install, resource_name)
end
end

0 comments on commit 702cb59

Please sign in to comment.