Add missing image model spec. Add shared specs to check image validations at any imageable model
This commit is contained in:
8
spec/models/image_spec.rb
Normal file
8
spec/models/image_spec.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe Image do
|
||||
|
||||
it_behaves_like "image validations", "budget_investment_image"
|
||||
it_behaves_like "image validations", "proposal_image"
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user