Remove unused variables
Detected thanks to the RSpec/LetSetup rule after updating rubocop-rspec.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user