To easily limit the execution of RSpec tests while you are developing use the
power of the .rspec
opts file and RSpec tags.
Tags can be added to any RSpec method describe
, context
, it
, etc.
The are simply arguments passed as a Hash to the method.
describe 'foo', focus: true do
context 'bar', slow: true do