Sha256: 205628f71e2c3200d179311ff0a4dc26369be5a5e742a3822d45de0915450007

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

require "test_helper"

class FormForTestTest < MiniTest::Spec
  include Cell::Testing

  it do
    cell("form_for").().gsub(/\s\s/, "").must_equal %{<form class=\"edit_song\" id=\"edit_song_1\" action=\"/songs/1\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" /> First <input type=\"text\" value=\"1\" name=\"song[id]\" id=\"song_id\" /><input type=\"text\" name=\"song[artist][id]\" id=\"song_artist_id\" />
</form>}
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cells-4.0.5 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.4 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.3 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.2 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.1 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.0 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.0.rc1 test/rails4.2/test/integration/form_for_test.rb
cells-4.0.0.beta6 test/rails4.2/test/integration/form_for_test.rb