diff options
| author | Marc Florisson | 2012-08-30 16:24:36 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-08-30 16:24:36 +0200 |
| commit | 2dca376725013ac504649c4f2371353d1ad9e8ef (patch) | |
| tree | 088251dd43b6434ffea8bfe305768a46a46023d1 /spec | |
| parent | 61d0662dd923169c5c5aa1d4624f04d6e9dbe43d (diff) | |
| download | chouette-core-2dca376725013ac504649c4f2371353d1ad9e8ef.tar.bz2 | |
fix organisation. Refs #111
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/mailers/user_mailer_spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/mailers/user_mailer_spec.rb b/spec/mailers/user_mailer_spec.rb deleted file mode 100644 index 2471de988..000000000 --- a/spec/mailers/user_mailer_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require "spec_helper" - -describe UserMailer do - - describe "welcome" do - let(:user) {Factory(:user)} - - it "should verify if email send" do - email = UserMailer.welcome(user).deliver - ActionMailer::Base.deliveries.empty?.should be_false - end - - it "should verify the content of sending email" do - email = UserMailer.welcome(user).deliver - email.to.should == [user.email] - email.subject.should == "Welcome to #{user.organisation.name}" - end - - end - -end |
