Skip to content
Snippets Groups Projects
Commit f74c90f6 authored by Micael Bergeron's avatar Micael Bergeron
Browse files

fix the failing specs

parent 1b5272db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -50,5 +50,4 @@ module Avatarable
 
url_base + avatar.url
end
end
Loading
Loading
@@ -56,7 +56,7 @@ module ObjectStorage
 
paths.include?(upload.path) &&
upload.model_id == model.id &&
upload.model_type == model.base_class.sti_name
upload.model_type == model.class.base_class.sti_name
end
end
end
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ shared_context 'with storage' do |store, **stub_params|
end
end
 
shared_examples "migrates" do |to_store: , from_store: nil|
shared_examples "migrates" do |to_store:, from_store: nil|
let(:to) { to_store }
let(:from) { from_store || subject.object_store }
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment