Sha256: d3e4602a2b825ae3c9f6dea620a916ef7f46639a36776ea1549595cedc121265
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe Paperclip::Processors::Plain do let(:attachment) { double } let(:no_deflate) { nil } let(:options) { {} } let(:file) { test_file } subject { Paperclip::Processors::Plain.new(file, options, attachment) } before do allow(attachment).to receive(:instance_read).with(:no_deflate).and_return(no_deflate) end describe "#make" do it "returns the file" do expect(subject.make).to eq(file) end end end
Version data entries
3 entries across 3 versions & 1 rubygems