Sha256: dc829c8b67f504d08b9f8c8fa723fb07bac16d4e396a46bc4c0462682d74d339

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe FileUploader do

  let(:uploader){FileUploader.new}

  it "should upload file" do
    lambda{
      uploader.store!(File.open(Support.get_file("large_file.txt")))
    }.should_not raise_error
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 spec/uploaders/file_uploader_spec.rb
lolita-file-upload-0.2.0 spec/uploaders/file_uploader_spec.rb