Sha256: a529512654ee366b398d256cc15c68061c0bc90ebbcd3c6d03f46ef5dd0831e4

Contents?: true

Size: 404 Bytes

Versions: 14

Compression:

Stored size: 404 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

Version Path
rails-uploader-0.5.7 spec/uploader_spec.rb
rails-uploader-0.5.6 spec/uploader_spec.rb
rails-uploader-0.5.5 spec/uploader_spec.rb
rails-uploader-0.5.4 spec/uploader_spec.rb
rails-uploader-0.5.3 spec/uploader_spec.rb
rails-uploader-0.5.2 spec/uploader_spec.rb
rails-uploader-0.5.1 spec/uploader_spec.rb
rails-uploader-0.5.0 spec/uploader_spec.rb
rails-uploader-0.4.5 spec/uploader_spec.rb
rails-uploader-0.4.4 spec/uploader_spec.rb
rails-uploader-0.4.3 spec/uploader_spec.rb
rails-uploader-0.4.2 spec/uploader_spec.rb
rails-uploader-0.4.1 spec/uploader_spec.rb
rails-uploader-0.4.0 spec/uploader_spec.rb