Created
December 14, 2015 14:12
-
-
Save janjiss/dfba4b69a626647232ac 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
describe Notifier do | |
it "sends a message to a gateway" do | |
gateway = instance_double(Gateway) | |
expect(gateway).to receive(:call) | |
input = "My random input again" | |
Notifier.new(input: input, gateway: gateway) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment