Sha256: 483ffacd41eb1d99b0efb1e49c6fd25272663cc97c381242870d065626040b17
Contents?: true
Size: 299 Bytes
Versions: 6
Compression:
Stored size: 299 Bytes
Contents
require 'test_helper' class SubmitTest < ActiveSupport::TestCase test "submit takes string param for value" do fragment = -> { express_form(:stuff) { submit "Save it!" } } assert_match '#{submit_tag("Save it!", {})}', ExpressTemplates.compile(&fragment) end end
Version data entries
6 entries across 6 versions & 2 rubygems