Tag Rspec

Bundling Common Rake Tasks into a Gem

An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.

Verify a Ruby Class Method is Called with Arguments in Rspec, Without Doubles or Mocks

Rspec code to verify that a Ruby Class Method is called from another method, without needing to mock anything.