Last active
June 16, 2017 19:27
-
-
Save ianks/150da4e4ebca852f42f811e60b3021e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# ... | |
expectation_mutex = Mutex.new | |
expect(client).to receive(:fetch_users) do |args| | |
expectation_mutex.synchronize do | |
expect(args).to eql(current_page) | |
end | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment