Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add failing spec for verify-nth-call-args-for #7

Open
wants to merge 1 commit into from

1 participant

@jumski

Please correct me if I'm using verify-nth-call-args-for wrong, but checked docs and it says that i can verify stubbed stuff so assumed this should work.
Would love to fix it, but need some advice (I'm a newbie-macro-writer).

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 25, 2013
  1. @jumski
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/conjure/core_test.clj
View
4 test/conjure/core_test.clj
@@ -171,3 +171,7 @@
#"cannot be called from within"
(mocking [str])))))
+(deftest test-allows-verification-of-stubbed-functions
+ (stubbing [inc 3]
+ (inc 3)
+ (verify-nth-call-args-for 1 inc 3)))
Something went wrong with that request. Please try again.