From f52efae271ddb376e7223405c3a74edd7ed598b9 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Goncalves Date: Fri, 1 Aug 2014 17:49:13 -0300 Subject: Changed names according to new convention on the fake service --- fake-service/spec/smail/mail_spec.rb | 10 +++++----- fake-service/spec/spec_helper.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'fake-service/spec') diff --git a/fake-service/spec/smail/mail_spec.rb b/fake-service/spec/smail/mail_spec.rb index b75ceff5..96b3bb31 100644 --- a/fake-service/spec/smail/mail_spec.rb +++ b/fake-service/spec/smail/mail_spec.rb @@ -2,10 +2,10 @@ fixture1 = File.read(File.join(File.dirname(__FILE__), "..", "fixtures", "mail1")) fixture2 = File.read(File.join(File.dirname(__FILE__), "..", "fixtures", "mail2")) -describe Smail::Mail do +describe PixelatedService::Mail do describe "#read" do context("simple email") do - subject(:mail) { Smail::Mail.read(fixture1) } + subject(:mail) { PixelatedService::Mail.read(fixture1) } it "reads the subject correctly" do expect(mail.subject).to eq("Doloremque aliquid a facilis et sit numquam libero.") @@ -39,7 +39,7 @@ BODY end context("with multiple recipients") do - subject(:mail) { Smail::Mail.read(fixture2) } + subject(:mail) { PixelatedService::Mail.read(fixture2) } it "reads multiple recipients correctly" do expect(mail.to).to eq(%w(cmurphy@thoughtworks.com cgorslin@thoughtworks.com cmitchel@thoughtworks.com dnorth@thoughtworks.com dpgoodwi@thoughtworks.com dbodart@thoughtworks.com dsmith@thoughtworks.com djrice@thoughtworks.com dwhalley@thoughtworks.com)) @@ -53,7 +53,7 @@ BODY describe ".to_s" do context("simple email") do - subject(:mail) { Smail::Mail.read(fixture1) } + subject(:mail) { PixelatedService::Mail.read(fixture1) } it "writes correct output" do expect(mail.to_s).to eq(<