module

Spec::Expectations::ObjectExpectations

rspec adds #should and #should_not to every Object (and, implicitly, every Class).

Files

  • lib/spec/expectations/extensions/object.rb