Skip to content

Commit

Permalink
fix naming in skip_suppression_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTVsFrank authored and dgoerlich committed Apr 11, 2016
1 parent 371b479 commit 0d95046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/skip_suppression_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
end

context "Skip Suppression" do
it "handles skip_suppression value from message" do
it "handles value from message" do
test_email = Mailer.test_email sparkpost_data: {skip_suppression: true}

@delivery_method.deliver!(test_email)

expect(@delivery_method.data[:options][:skip_suppression]).to eq(true)
end

it "does not include substitution data element if none is passed" do
it "does not include skip_suppression element if not supplied" do
test_email = Mailer.test_email
@delivery_method.deliver!(test_email)

Expand Down

0 comments on commit 0d95046

Please sign in to comment.