Feature: must So that I can write accurate specifications As an RSpec user I want to be able to use #must instead of #should Scenario: #must with matching matcher Given a file named "must_matching_spec.rb" with: """ require 'rspec' require 'rspec/must' describe true do it { must be_true } end """ When I run `rspec must_matching_spec.rb` Then the example must pass Scenario: #must with non-matching matcher Given a file named "must_non-matching_spec.rb" with: """ require 'rspec' require 'rspec/must' describe true do it { must be_false } end """ When I run `rspec must_non-matching_spec.rb` Then the example must fail And the output must match /expected.+to be false/ Scenario: #must_not with matching matcher Given a file named "must_not_matching_spec.rb" with: """ require 'rspec' require 'rspec/must' describe true do it { must_not be_false } end """ When I run `rspec must_not_matching_spec.rb` Then the example must pass Scenario: #must_not with non-matching matcher Given a file named "must_not_non-matching_spec.rb" with: """ require 'rspec' require 'rspec/must' describe true do it { must_not be_true } end """ When I run `rspec must_not_non-matching_spec.rb` Then the example must fail And the output must match /expected.+to be true/