 RSpec uses a simple framework and keywords like "should()" and "should_not()" to express expectations.It supports matchers, that is objects that try to match an expected outcome, for common operations as well as uncommon expressions.For example, if the expected outcome of a result is say numeric value 5, a RSpec expectation that uses the matcher "equal" for the same would be written as follows