require 'test_helper' class Foo def self.columns ; [] ; end end class ExpressFormTest < ActiveSupport::TestCase def simplest_form arbre(foo: resource) { express_form(:foo) { submit value: 'Save it!' } } end def helpers mock_action_view do def foos_path '/foos' end end end test "simplest form renders" do assert simplest_form end test "simplest form will have the proper id" do assert_match /