Sha256: 2e1866b206e6bb34b8a6aaa4f19c3e578b5f7e916117bc047429313a2215707a

Contents?: true

Size: 257 Bytes

Versions: 6

Compression:

Stored size: 257 Bytes

Contents

require 'test_helper'

class RailsImager::ImagesHelperTest < ActionView::TestCase
  test "#rails_imager_path" do
    path = rails_imager_p("test.png", :smartsize => 200)
    assert_equal "/rails_imager/images/test.png/?image[smartsize]=200", path
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_imager-0.0.16 test/helpers/rails_imager/images_helper_test.rb
rails_imager-0.0.15 test/helpers/rails_imager/images_helper_test.rb
rails_imager-0.0.14 test/helpers/rails_imager/images_helper_test.rb
rails_imager-0.0.13 test/helpers/rails_imager/images_helper_test.rb
rails_imager-0.0.12 test/helpers/rails_imager/images_helper_test.rb
rails_imager-0.0.11 test/helpers/rails_imager/images_helper_test.rb