Skip to content

Further fixes related to #303#307

Merged
dlwyatt merged 2 commits intopester:masterfrom
dlwyatt:MockFix
Apr 15, 2015
Merged

Further fixes related to #303#307
dlwyatt merged 2 commits intopester:masterfrom
dlwyatt:MockFix

Conversation

@dlwyatt
Copy link
Copy Markdown
Member

@dlwyatt dlwyatt commented Apr 15, 2015

Tweaked the code to remove another instance of relying on $ExecutionContext in the caller's scope at the time a mock is invoked.

dlwyatt added 2 commits April 15, 2015 13:53
The new test in pester#304 was't enough; it didn't actually invoke a mock.  There's another instance of the same problem deeper in the code.
Fixed another instance of client-scoped code relying on the $ExecutionContext variable.  This allows Pester to work properly even if that variable name has been used by a parameter in the client's call stack somewhere.
dlwyatt added a commit that referenced this pull request Apr 15, 2015
@dlwyatt dlwyatt merged commit 94a7c76 into pester:master Apr 15, 2015
@dlwyatt dlwyatt deleted the MockFix branch April 15, 2015 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant