Sha256: 6610e10397667f28e4f55bf931c5908aae94c9fc9c5f6cd35247d00b381de344

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

require 'spec_helper'

describe 'Assets for FileUploader' do
  subject { assets }

  it { should serve 'pakunok/fileuploader.js' } 
  it { should serve 'pakunok/fileuploader.css' } 
  it "should not look like it has hardcoded image links" do
    asset_for('pakunok/fileuploader.css').to_s.should_not include 'url("loading.gif")'
  end


  %w{
    loading.gif
  }.each do |image_name|
    it { should serve "pakunok/fileuploader/#{image_name}" }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pakunok-0.0.3 spec/assets/colorpicker_spec.rb
pakunok-0.0.2 spec/assets/colorpicker_spec.rb
pakunok-0.0.1 spec/colorpicker_spec.rb