{"push_id":652541676,"size":3,"distinct_size":3,"ref":"refs/heads/fix-run-matcher","head":"0b0de3750a3ab10bf5169298d826dbfb4c61ce1e","before":"6eb64816dc329c96c791d46694d0214d656d13f2","commits":[{"sha":"24e4bb64bddbc3447ddc305a79e9cdd1a73d5e6a","author":{"email":"c95c20ec9964d10a33a969aefbd62f588e076c3f@puppetlabs.com","name":"David Schmitt"},"message":"Several bug fixes and specs for Run matcher\n\nWithout the changes to run.rb, the following specs would fail:\n\nrspec ./spec/unit/matchers/run_spec.rb:10 # RSpec::Puppet::FunctionMatchers::Run should not match a lambda that raises an error\n\nrspec ./spec/unit/matchers/run_spec.rb:24 # RSpec::Puppet::FunctionMatchers::Run with_params() should not match a lambda that raises an error\n\nrspec ./spec/unit/matchers/run_spec.rb:40 # RSpec::Puppet::FunctionMatchers::Run with_params(*anything*) and_return(*anything*) should not match a lambda that raises an error\n\nrspec ./spec/unit/matchers/run_spec.rb:36 # RSpec::Puppet::FunctionMatchers::Run with_params(*anything*) and_return(nil) should not match a lambda that does return a different value","distinct":true,"url":"https://api.github.com/repos/DavidS/rspec-puppet/commits/24e4bb64bddbc3447ddc305a79e9cdd1a73d5e6a"},{"sha":"39b4f88e321db623c66c459f0c6180dbef411a17","author":{"email":"c95c20ec9964d10a33a969aefbd62f588e076c3f@puppetlabs.com","name":"David Schmitt"},"message":"Improve description of Run matcher when no return value is expected","distinct":true,"url":"https://api.github.com/repos/DavidS/rspec-puppet/commits/39b4f88e321db623c66c459f0c6180dbef411a17"},{"sha":"0b0de3750a3ab10bf5169298d826dbfb4c61ce1e","author":{"email":"c95c20ec9964d10a33a969aefbd62f588e076c3f@puppetlabs.com","name":"David Schmitt"},"message":"Run matcher: refactor matching? to use explicit state around expected errors\n\nThis also extracts the calling of the subject into a separate block in\nmatches? to reduce the complexity and provide a more uniform logic.\n\nFinally, this uses the new state to always output the actual_error, to\nmake the rspec messages more useful.","distinct":true,"url":"https://api.github.com/repos/DavidS/rspec-puppet/commits/0b0de3750a3ab10bf5169298d826dbfb4c61ce1e"}]}