We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inside initializer block. (in Ww::Server.build_double) get(path, :double => :spy) do .. end
get(path, :double => :spy) do .. end
outside Ww::Server[:server].get(path, :double => :spy) do .. end
Ww::Server[:server].get(path, :double => :spy) do .. end
inside initializer block (in Ww::Server.build_double) spy(self).get(path) do .. end spy!.get(path) do .. end
spy(self).get(path) do .. end
spy!.get(path) do .. end
outside spy(Ww::Server[:server]).get(path) do .. end
spy(Ww::Server[:server]).get(path) do .. end
inside initializer block (in Ww::Server.build_double) spy(:get, path) do .. end
spy(:get, path) do .. end
outside Ww::Server[:server].spy(:get, path) do .. end
Ww::Server[:server].spy(:get, path) do .. end
The text was updated successfully, but these errors were encountered:
I'm waiting YOUR idea. Feel easy to comment, please.
Sorry, something went wrong.
how do you think of
spy.get(:get, path) do .. end
spy() returns Proxy object to define spy(or other double) actions.
No branches or pull requests
Sinatra like
inside initializer block. (in Ww::Server.build_double)
get(path, :double => :spy) do .. end
outside
Ww::Server[:server].get(path, :double => :spy) do .. end
rr like (?)
inside initializer block (in Ww::Server.build_double)
spy(self).get(path) do .. end
spy!.get(path) do .. end
outside
spy(Ww::Server[:server]).get(path) do .. end
current
inside initializer block (in Ww::Server.build_double)
spy(:get, path) do .. end
outside
Ww::Server[:server].spy(:get, path) do .. end
The text was updated successfully, but these errors were encountered: