aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMarc Florisson2012-08-30 16:24:36 +0200
committerMarc Florisson2012-08-30 16:24:36 +0200
commit2dca376725013ac504649c4f2371353d1ad9e8ef (patch)
tree088251dd43b6434ffea8bfe305768a46a46023d1 /spec
parent61d0662dd923169c5c5aa1d4624f04d6e9dbe43d (diff)
downloadchouette-core-2dca376725013ac504649c4f2371353d1ad9e8ef.tar.bz2
fix organisation. Refs #111
Diffstat (limited to 'spec')
-rw-r--r--spec/mailers/user_mailer_spec.rb21
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