Sha256: 888cec22c48cee500c83ae60225bae4ae669895b8e3ebb2346c61b9e91e290ba
Contents?: true
Size: 931 Bytes
Versions: 1
Compression:
Stored size: 931 Bytes
Contents
require 'test_helper' class RailsSpriteTest < ActiveSupport::TestCase test "truth" do assert_kind_of Module, RailsSprite end test "perform" do util = ::RailsSprite::SpriteUtil.new( :root_path => "#{File.dirname(__FILE__)}/./fixtures/testing", :scope_name => "rails_xxx/", :recipe_path => "icons/32x32", :css_class_shared => 'rails_xxx-icon', :css_class_prefix => 'icons-32x32-', :zoom => 2 # :root_path => '.', # :scope_name => "rails_xxx", # :recipe_path => "icons/16x16", # :file_extend => '.png', # :spacing => 10, # :image_to_folder => "app/assets/images", # :image_source_folder => 'app/assets/images/rails_xxx/sprite_sources', # :stylesheet_to => "app/assets/stylesheets/rails_xxx/sprite/icons/16x16.css.scss.erb", # :image_to_file_path => "rails_xxx/sprite/icons/16x16.png" ) util.perform end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-sprite-0.0.7 | test/rails_sprite_test.rb |