Skip to content

Commit 895b793

Browse files
Dantemssmwvolo
andauthored
Disable gssencmode in the test env (#1277)
Co-authored-by: Michael Volo <volo@rice.edu>
1 parent 0b2e6b4 commit 895b793

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,11 @@ group :development, :test do
225225
# Codecov integration
226226
gem 'codecov', require: false
227227

228-
# Speedup and run specs when files change
228+
# Speedup Rails boot time
229229
gem 'spring'
230230
gem 'spring-commands-rspec'
231+
232+
# Run specs when files change
231233
gem 'guard-rspec'
232234
gem 'guard-livereload', require: false
233235

config/database.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ test:
1818
<<: *default
1919
database: '<%= ENV['OXA_TEST_DB'] || 'ox_accounts_test' %><%=
2020
"_#{ENV['TEST_ENV_NUMBER']}" if !ENV['TEST_ENV_NUMBER'].blank? %>'
21+
<% if RUBY_PLATFORM =~ /darwin/ %>gssencmode: disable<% end %> # Prevent OS X OBJC crash
2122
reaping_frequency: 0 # 0 == disabled - incompatible with our DatabaseCleaner config
2223

2324
production:

0 commit comments

Comments
 (0)