Sha256: 7c27ddb19ae7a7e4f63c0be895946827e3d1910b385c617f24c6cb2aee8adcef
Contents?: true
Size: 596 Bytes
Versions: 8
Compression:
Stored size: 596 Bytes
Contents
require "spec_helper" describe Uploadcare::Rails::ActionView::UploaderTags do it "should include uploader tag for name" do tag = helper.uploadcare_uploader_tag :file tag.should be_kind_of(String) tag.should have_selector("input", :type =>"hidden", :role =>"uploadcare-uploader", "data-path-value" => "true") end it "should include uploader field for object" do tag = helper.uploadcare_uploader_field :post, :file tag.should be_kind_of(String) tag.should have_selector("input", :type =>"hidden", :role =>"uploadcare-uploader", "data-path-value" => "true") end end
Version data entries
8 entries across 8 versions & 1 rubygems