What is an example in RSpec?
Another RSpec keyword is ‘it’, which is used to specify a “Example.” A test or a test case is essentially an example. It supports both class name and string parameters and should be used with a block argument, denoted with do/end, just like describe and context. It is typical to merely supply a string and a block argument in this scenario.