Sha256: a16e773ba950be9cb19a1fca3f0756685149f05b98cbb5ba5ca14d8637298723

Contents?: true

Size: 229 Bytes

Versions: 7

Compression:

Stored size: 229 Bytes

Contents

require 'spec_helper'

describe RailsImager::ImagesHelper do
  it "#rails_imager_path" do
    path = rails_imager_p("test.png", :smartsize => 200)
    path.should eq "/rails_imager/images/test.png?image[smartsize]=200"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_imager-0.0.30 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.29 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.28 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.27 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.25 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.24 spec/helpers/rails_imager/images_helper_spec.rb
rails_imager-0.0.23 spec/helpers/rails_imager/images_helper_spec.rb