Sha256: 9dd94ae49830ccd021aae8c9e848ecef99f6b0fc3cd08ca5d6b727bc10c88469

Contents?: true

Size: 408 Bytes

Versions: 25

Compression:

Stored size: 408 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 == 10
  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

25 entries across 25 versions & 3 rubygems

Version Path
glebtv-rails-uploader-0.4.1 spec/uploader_spec.rb
glebtv-rails-uploader-0.4.0 spec/uploader_spec.rb
glebtv-rails-uploader-0.3.0 spec/uploader_spec.rb
rails-uploader-0.1.4 spec/uploader_spec.rb
glebtv-rails-uploader-0.2.0 spec/uploader_spec.rb
rails-uploader-0.1.3 spec/uploader_spec.rb
rails-uploader-0.1.2 spec/uploader_spec.rb
glebtv-rails-uploader-0.1.3 spec/uploader_spec.rb
glebtv-rails-uploader-0.1.2 spec/uploader_spec.rb
glebtv-rails-uploader-0.1.1 spec/uploader_spec.rb
glebtv-rails-uploader-0.0.8 spec/uploader_spec.rb
rails-uploader-0.1.0 spec/uploader_spec.rb
rails-uploader-0.0.8 spec/uploader_spec.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.7/spec/uploader_spec.rb
rails-uploader-0.0.7 spec/uploader_spec.rb
rails-uploader-0.0.6 spec/uploader_spec.rb
rails-uploader-0.0.5 spec/uploader_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/uploader_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/uploader_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/uploader_spec.rb