Fix autloading of webmock/rspec in production
Autoload apparently also load spec/ which requires webmock/rspec which was not installed in production
This commit is contained in:
parent
97ca07d142
commit
fd8dbfe7a7
1 changed files with 3 additions and 2 deletions
5
Gemfile
5
Gemfile
|
|
@ -159,6 +159,9 @@ gem 'bootstrap-switch-rails', '~> 3.0.0'
|
||||||
# for parsing OEmbed data
|
# for parsing OEmbed data
|
||||||
gem 'ruby-oembed'
|
gem 'ruby-oembed'
|
||||||
|
|
||||||
|
# for mocking external requests
|
||||||
|
gem 'webmock'
|
||||||
|
|
||||||
# Use guard and spring for testing in development
|
# Use guard and spring for testing in development
|
||||||
group :development do
|
group :development do
|
||||||
# rspec Guard rules
|
# rspec Guard rules
|
||||||
|
|
@ -193,8 +196,6 @@ group :test do
|
||||||
# Extracted from RSpec 3 stub_model and mock_model
|
# Extracted from RSpec 3 stub_model and mock_model
|
||||||
gem 'rspec-activemodel-mocks'
|
gem 'rspec-activemodel-mocks'
|
||||||
gem 'timecop'
|
gem 'timecop'
|
||||||
# Mock external requests
|
|
||||||
gem 'webmock'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue