Skip to content

Commit

Permalink
fixed test affected image uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanyshak committed Jun 9, 2021
1 parent 8d8b0a4 commit 22c68c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/shop/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: .
specs:
shop (0.1.0)
carrierwave (~> 1.2)
friendly_id
kaminari
rails (~> 5.2.2, >= 5.2.2.1)
Expand Down Expand Up @@ -244,7 +245,6 @@ PLATFORMS

DEPENDENCIES
capybara
carrierwave (~> 1.2)
factory_bot_rails
faker
guard-rspec
Expand Down
2 changes: 2 additions & 0 deletions components/shop/app/uploaders/item_image_uploader.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ItemImageUploader < CarrierWave::Uploader::Base
end
1 change: 1 addition & 0 deletions components/shop/lib/shop/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'kaminari'
require 'simple_form'
require 'friendly_id'
require 'carrierwave'

module Shop
class Engine < ::Rails::Engine
Expand Down
1 change: 1 addition & 0 deletions components/shop/shop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'kaminari'
spec.add_dependency 'simple_form'
spec.add_dependency 'slim-rails'
spec.add_dependency 'carrierwave', '~> 1.2'

spec.add_development_dependency 'capybara'
spec.add_development_dependency 'faker'
Expand Down

0 comments on commit 22c68c6

Please sign in to comment.