Sha256: 5d4563faf5ee1b14003298ca6b18529597eec6bff90c9675135da904ba66c4a8

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Uploader do
  it 'should be a Module' do
    Uploader.should be_a(Module)
  end

  it 'should generate random string' do
    value = Uploader.guid
    value.should_not be_blank
    value.size.should == 22
  end

  it 'should find all precompile assets' do
    Uploader.assets.should_not be_nil
    Uploader.assets.should include('uploader/jquery.fileupload.js')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-uploader-0.5.9 spec/uploader_spec.rb
rails-uploader-0.5.8 spec/uploader_spec.rb