Skip to content

Commit

Permalink
Fix irb_context in rails console
Browse files Browse the repository at this point in the history
Don’t require rspec_junit_formatter gem

It’s only needed when running tests (for circleci).

It messes with the console, when running `rails c` it causes this warning:
```
irb: warn: can't alias context from irb_context
```

This is related to rspec monkey_patching a `context` method on `Object` (rspec/rspec-rails#1645)
  • Loading branch information
n-b committed May 7, 2019
1 parent 3bc492e commit 682190d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ group :development, :test do
gem 'factory_bot_rails'
gem 'faker'
gem 'rspec-rails'
gem 'rspec_junit_formatter'
gem 'rspec_junit_formatter', require: false
end

group :development do
Expand Down

0 comments on commit 682190d

Please sign in to comment.