Closed neanias closed 1 year ago
A test reuse strategy in RSpec is to consolidate shared blocks of code into shared_examples and include them into context blocks using it_behaves_like. These should probably be treated as test definitions.
shared_examples
it_behaves_like
A test reuse strategy in RSpec is to consolidate shared blocks of code into
shared_examples
and include them into context blocks usingit_behaves_like
. These should probably be treated as test definitions.