-
-
Save rthbound/9bf276e871c20719e8bc to your computer and use it in GitHub Desktop.
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
describe "as an instance" do | |
it "executes successfully" do | |
search = @subject.new(@params) | |
search_arguments = search.send(:arguments) | |
@search_client.expect(:search, {}, [search_arguments]) | |
result = search.call | |
result.successful?.must_equal true | |
result.must_be_kind_of PayDirt::Result | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment