Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujigiri committed Dec 6, 2018
1 parent 6a1a620 commit 1c79eb1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ group :test do
gem 'test-unit' # TODO: Remove me
gem 'minitest' # TODO: Remove me
gem 'rspec-rails'
gem 'shoulda-context'
gem 'mocha', require: false
gem 'simplecov', require: false
gem 'webmock'
Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ GEM
sentry-raven (2.7.2)
faraday (>= 0.7.6, < 1.0)
shellany (0.0.1)
shoulda-context (1.2.2)
sidekiq (5.1.3)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
Expand Down Expand Up @@ -430,7 +429,6 @@ DEPENDENCIES
sanitize
sass-rails
sentry-raven
shoulda-context
sidekiq
sidekiq-limit_fetch
simplecov
Expand Down
2 changes: 1 addition & 1 deletion spec/features/entering_new_phenotypes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
.to match_array(['Created a new phenotype', 'Entered first phenotype'])

expect(ActionMailer::Base.deliveries.count).to eq(1)
expect(ActionMailer::Base.deliveries.first.body.parts.first.body.raw_source)
expect(ActionMailer::Base.deliveries.first.text_part.decoded)
.to include(<<-TXT.strip_heredoc.gsub(/ +/, ' '))
Dear Max Mustermann,
Expand Down

0 comments on commit 1c79eb1

Please sign in to comment.