Sha256: ce8e39cd8e4bdcf77bf3bbd2af4a9fe3d999a533706d57ae37878ae7c728b69d
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 Bytes
Contents
rspec-must ========== rspec-must allows you to use #must instead of #should instance method in your specs. Currently it also provides #must_not and #must_receive, respectively aliased on #should_not and #should_receive. Using "should" verb in specs may feel "wrong" to you. Especially if you are used to reading or implementing RFC, you will know about RFC 2119. Usage ----- You need to require 'rspec' in your spec_helper *before* requiring 'rspec/must' because rspec-must reopen a module created by rspec-mocks: require 'rspec' require 'rspec/must' #must* methods will be available where equivalent #should* methods are. Installation ------------ rspec-must is a ruby gem, so you can use rubygems: gem install rspec-must Or if you use bundler, add it to your Gemfile.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-must-0.0.1 | README.md |