mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
gem 'ruby-oembed'
|
||||
|
||||
# for mocking external requests
|
||||
gem 'webmock'
|
||||
|
||||
# Use guard and spring for testing in development
|
||||
group :development do
|
||||
# rspec Guard rules
|
||||
|
|
@ -193,8 +196,6 @@ 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