Remove unused variables

Detected thanks to the RSpec/LetSetup rule after updating rubocop-rspec.
This commit is contained in:
Javi Martín
2020-10-23 18:19:07 +02:00
parent dd7d6440ec
commit d2d95c8df7
5 changed files with 5 additions and 11 deletions

View File

@@ -2,7 +2,6 @@ shared_examples "image validations" do |imageable_factory|
include ImageablesHelper
let!(:image) { build(:image, imageable_factory.to_sym) }
let!(:imageable) { image.imageable }
let!(:acceptedcontenttypes) { imageable_accepted_content_types }
it "is valid" do