Add webmock for external requests in tests
external_request.rb needs to be required before lint is run.
This commit is contained in:
parent
640be7497f
commit
6301072484
5 changed files with 47 additions and 1 deletions
2
Gemfile
2
Gemfile
|
|
@ -179,6 +179,8 @@ group :test do
|
|||
# Extracted from RSpec 3 stub_model and mock_model
|
||||
gem 'rspec-activemodel-mocks'
|
||||
gem 'timecop'
|
||||
# Mock external requests
|
||||
gem 'webmock'
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue