This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6e7c01
commit c73fa5c
Showing
2 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
require 'spec/spec_helper' | ||
|
||
module Spec | ||
module Mocks | ||
module ArgumentMatchers | ||
describe AnyArgsMatcher do | ||
it "represents itself nicely for failure messages" do | ||
AnyArgsMatcher.new.description.should == "any args" | ||
end | ||
end | ||
|
||
describe AnyArgMatcher do | ||
it "represents itself nicely for failure messages" do | ||
AnyArgMatcher.new(nil).description.should == "anything" | ||
end | ||
end | ||
end | ||
end | ||
end |