spec/ftp_spec.rb in carrierwave-ftp-0.4.0 vs spec/ftp_spec.rb in carrierwave-ftp-0.4.1

- old
+ new

@@ -138,10 +138,9 @@ @ftp.should_receive(:get).with('test.jpg', nil).and_yield('some content') @stored.read.should == 'some content' end it "returns the content_type of the file" do - @stored.should_receive(:file).and_return(Struct.new(:content_type).new('some/type')) - @stored.content_type.should == 'some/type' + @stored.content_type.should == 'image/jpeg' end end end