aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock4
-rw-r--r--spec/rails_helper.rb3
3 files changed, 8 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 203945992..f57a9d524 100644
--- a/Gemfile
+++ b/Gemfile
@@ -158,6 +158,7 @@ group :development do
end
group :test do
+ gem 'email_spec'
gem 'cucumber-rails', require: false
gem 'simplecov', :require => false
gem 'simplecov-rcov', :require => false
diff --git a/Gemfile.lock b/Gemfile.lock
index eea6f4ba5..256967c04 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -215,6 +215,9 @@ GEM
json
thread
thread_safe
+ email_spec (1.6.0)
+ launchy (~> 2.1)
+ mail (~> 2.2)
enumerize (0.10.1)
activesupport (>= 3.2)
erubis (2.7.0)
@@ -591,6 +594,7 @@ DEPENDENCIES
devise_cas_authenticatable
devise_invitable
draper
+ email_spec
enumerize (~> 0.10.0)
fabrication (~> 2.14.1)
factory_girl_rails (~> 4.0)
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index e6c0b688f..6d9f4a4a2 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -25,6 +25,9 @@ require 'rspec/rails'
ActiveRecord::Migration.maintain_test_schema!
RSpec.configure do |config|
+ config.include(EmailSpec::Helpers)
+ config.include(EmailSpec::Matchers)
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"