Sha256: 4fd32435357589728e9de549c9a57e46129e2b3e6db883385be68301e68eaa4d

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

require 'test_helper'

class FormHelperTest < ActionView::TestCase
  
  test 'a template was rendered' do
    concat(form_for(:user, :url => '/account', :html => { :id => 'my_form' }) do |f|
      f.text_field(:name)
    end)
    assert_template 'hi/there'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
form_cutter-1.0.2 test/action_view_extensions/form_helper_test.rb
form_cutter-1.0.1 test/action_view_extensions/form_helper_test.rb
form_cutter-1.0.0 test/action_view_extensions/form_helper_test.rb