mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Rename Arguments.empty to Arguments.none
This commit is contained in:
parent
4b2b37477e
commit
4aaa8db5e2
5 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ Spectator.describe Spectator::Matchers::ReceiveMatcher do
|
|||
let(args_stub) { Spectator::NullStub.new(:test_method, args) }
|
||||
let(args_matcher) { described_class.new(args_stub) }
|
||||
|
||||
let(no_args_stub) { Spectator::NullStub.new(:test_method, Spectator::Arguments.empty) }
|
||||
let(no_args_stub) { Spectator::NullStub.new(:test_method, Spectator::Arguments.none) }
|
||||
let(no_args_matcher) { described_class.new(no_args_stub) }
|
||||
|
||||
double(:dbl, test_method: nil, irrelevant: nil)
|
||||
|
|
|
@ -52,7 +52,7 @@ Spectator.describe Spectator::Arguments do
|
|||
end
|
||||
|
||||
context "when empty" do
|
||||
let(arguments) { Spectator::Arguments.empty }
|
||||
let(arguments) { Spectator::Arguments.none }
|
||||
|
||||
it "returns (no args)" do
|
||||
is_expected.to eq("(no args)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue