Sha256: 05eb1c43f79e2f27db99e41c7d3e96cc466fa76ad2dd1311fb70727f0aab5098

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

require "test_helper"

class FormTagTestTest < MiniTest::Spec
  include Cell::Testing
  controller SongsController

  it do
    cell("form_tag").().gsub(/\s\s/, "").must_equal %{<form action=\"/songs\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /> Second <input type=\"text\" name=\"id\" id=\"id\" /> <input type=\"submit\" name=\"commit\" value=\"Save\" />
</form>}
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cells-4.0.5 test/rails4.2/test/integration/form_tag_test.rb
cells-4.0.4 test/rails4.2/test/integration/form_tag_test.rb
cells-4.0.3 test/rails4.2/test/integration/form_tag_test.rb
cells-4.0.2 test/rails4.2/test/integration/form_tag_test.rb