diff options
| author | Xinhui | 2017-07-07 11:40:44 +0200 |
|---|---|---|
| committer | Xinhui | 2017-07-07 12:43:24 +0200 |
| commit | dbf45754da3c16043f30cf14faa2c654f6e889c2 (patch) | |
| tree | bc3b39c94f84b1964a3120adcb5edad9c97925f2 | |
| parent | b774d8c5219fadbbc7c5b187c631f08022326c1c (diff) | |
| download | chouette-core-dbf45754da3c16043f30cf14faa2c654f6e889c2.tar.bz2 | |
Add gem email_spec
| -rw-r--r-- | Gemfile | 1 | ||||
| -rw-r--r-- | Gemfile.lock | 4 | ||||
| -rw-r--r-- | spec/rails_helper.rb | 3 |
3 files changed, 8 insertions, 0 deletions
@@ -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" |
