spec/uploaders/spotlight/item_uploader_spec.rb in blacklight-spotlight-0.5.0 vs spec/uploaders/spotlight/item_uploader_spec.rb in blacklight-spotlight-0.6.0
- old
+ new
@@ -16,11 +16,11 @@
subject do
described_class.new(resource, :resource)
end
before do
- subject.store!(File.open(File.expand_path(File.join('..', 'fixtures', '800x600.png'), Rails.root)))
+ subject.store!(File.open(File.expand_path(File.join('..', 'spec', 'fixtures', '800x600.png'), Rails.root)))
end
after do
subject.remove!
end
@@ -50,10 +50,10 @@
version :super_tiny do
process resize_to_fill: [25, 25]
end
end
}
- subject.store!(File.open(File.expand_path(File.join('..', 'fixtures', '800x600.png'), Rails.root)))
+ subject.store!(File.open(File.expand_path(File.join('..', 'spec', 'fixtures', '800x600.png'), Rails.root)))
end
after do
subject.remove!
end