today is the 5rh anniversary of when I first had banana slices wrapped in anchovies. tonight's snack will be that in celebration. #BeBoldWithBananas
class Symbol
def bad? = true
end
RSpec::Matchers.define(:feel_bad) { match { |_actual| true } }
RSpec.describe 'matters' do
it 'tracks' do
aggregate_failures do
expect(:russ).to be_bad && feel_bad
expect(:bob).to be_bad && feel_bad
end
end
end
> rspec matters_spec.rb
1 example, 0 failures, 1 passed
Finished in 0.001248 seconds