Skip to content

Commit

Permalink
Merge pull request #10 from AsharDweedar/edit-error-message
Browse files Browse the repository at this point in the history
change error message
  • Loading branch information
blatyo committed Aug 5, 2018
2 parents 4a1881f + bd0c80b commit f8a0d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/conduit/broker/outgoing_scope.ex
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule Conduit.Broker.OutgoingScope do
Perhaps #{inspect(name)} is misspelled. Otherwise, it can be defined in #{inspect(__MODULE__)} by adding:
outgoing do
subscribe #{inspect(name)}, to: "my.destination", other: "options"
publish #{inspect(name)}, to: "my.destination", other: "options"
end
"""

Expand Down
2 changes: 1 addition & 1 deletion test/conduit/broker_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ defmodule Conduit.BrokerTest do
Perhaps :non_existent is misspelled. Otherwise, it can be defined in Conduit.BrokerTest.Broker by adding:
outgoing do
subscribe :non_existent, to: "my.destination", other: "options"
publish :non_existent, to: "my.destination", other: "options"
end
"""
test "it produces a useful error when publishing to an undefined publish route" do
Expand Down

0 comments on commit f8a0d37

Please sign in to comment.