Skip to content

Commit

Permalink
(CONT-935) Correct example count
Browse files Browse the repository at this point in the history
Prior to this change, the example count in a few tests was incorrect.
This was causing the tests to fail.

This change corrects the example count to help the tests pass.
  • Loading branch information
chelnak committed May 26, 2023
1 parent c0fd14c commit 1bafc32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/test_unit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
describe command('pdk test unit') do
its(:exit_status) { is_expected.not_to eq(0) }
its(:stdout) { is_expected.to match(/expected: true.*got: false/im) }
its(:stdout) { is_expected.to match(/1 examples?.*1 failures?/im) }
its(:stdout) { is_expected.to match(/2 examples?.*1 failures?/im) }
end
end

Expand All @@ -107,7 +107,7 @@

describe command('pdk test unit') do
its(:exit_status) { is_expected.to eq(0) }
its(:stdout) { is_expected.to match(/1 examples?.*0 failures.*1 pending/im) }
its(:stdout) { is_expected.to match(/2 examples?.*0 failures.*1 pending/im) }
end
end

Expand Down

0 comments on commit 1bafc32

Please sign in to comment.