Skip to content

Commit

Permalink
Update test email.
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-panda committed Feb 1, 2016
1 parent e918baa commit 6079ac7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/stubs/service_under_test_stubs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def process(payload)

def validate(payload)
if payload.nil? || payload == "blort"
raise Webhookr::InvalidPayloadError.new("'#{payload}' is not valid")
raise Webhookr::InvalidPayloadError.new("'#{payload}' is not valid")
end
end

Expand All @@ -35,7 +35,7 @@ def stub(options = {})
ops = {
:service_name => "service_under_test",
:event_type => "test_event",
:email => "gerry@zoocasa.com"
:email => "jay@example.com"
}.merge(options)

OpenStruct.new({
Expand Down Expand Up @@ -70,4 +70,4 @@ def on_test_event(payload)
@@call_count += 1
@@email = payload.data.email
end
end
end

0 comments on commit 6079ac7

Please sign in to comment.