Skip to content

Commit

Permalink
chore: add bad example
Browse files Browse the repository at this point in the history
  • Loading branch information
bobstrange committed Oct 22, 2023
1 parent c344cf7 commit 8c87249
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ruby/testing/spec/example_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ def list
end

describe('Using not appropriate matcher') do
it do
expect(list).to eq([1, 2, 3])
end

it do
expect(list.include?(1)).to be_truthy
expect(list.include?(2)).to be_truthy
Expand Down

0 comments on commit 8c87249

Please sign in to comment.