mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Formatting
This commit is contained in:
parent
07aa968d68
commit
be79367256
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ Spectator.describe "`be_between` matcher" do
|
||||||
# boundaries check
|
# boundaries check
|
||||||
it { is_expected.to be_between(0, 7) }
|
it { is_expected.to be_between(0, 7) }
|
||||||
it { is_expected.to be_between(7, 10) }
|
it { is_expected.to be_between(7, 10) }
|
||||||
it { is_expected.not_to (be_between(0, 7).exclusive) }
|
it { is_expected.not_to(be_between(0, 7).exclusive) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,7 +34,7 @@ Spectator.describe "`change` matcher" do
|
||||||
|
|
||||||
context "expect no change" do
|
context "expect no change" do
|
||||||
describe "Counter#increment" do # TODO: Allow multiple arguments to context/describe.
|
describe "Counter#increment" do # TODO: Allow multiple arguments to context/describe.
|
||||||
# deliberate failures
|
# deliberate failures
|
||||||
it_fails "should not increment the count by 1 (using not_to)" do
|
it_fails "should not increment the count by 1 (using not_to)" do
|
||||||
expect { Counter.increment }.not_to change { Counter.count }
|
expect { Counter.increment }.not_to change { Counter.count }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue