Sha256: d9d435c5fd06bdcfb3fdbab131c10f9ad7eb5ea6f8936ccf507e0a443e06c218
Contents?: true
Size: 438 Bytes
Versions: 6
Compression:
Stored size: 438 Bytes
Contents
require 'test_helper' module AmpleAssets class FormHelperTest < ActionView::TestCase context 'The asset_drop method' do setup do render :text => asset_drop(:f, :g) end should 'create a hidden field' do assert_select 'input[type=hidden]' end should 'be named according to the object and attribute' do assert_select 'input#f_g' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems