Sha256: c6ea846f2256a6e91db713e9711fdc25e999ae804a0362e2b8e60f428c961309
Contents?: true
Size: 560 Bytes
Versions: 10
Compression:
Stored size: 560 Bytes
Contents
require "spec_helper" describe "Helpers" do set_controller Rad::Face::Demo::Commons def body wcall(:forms) response.body end it "form_tag should correctly render form (from error)" do body.to_xhtml('#basic_form_tag').should_be_fuzzy_equal_to( id: 'basic_form_tag', action: '/some_action', method: 'post' ) end it "form_for should correctly render form (from error)" do body.to_xhtml('#basic_form_for').should_be_fuzzy_equal_to( id: 'basic_form_for', action: '/some_action', method: 'post' ) end end
Version data entries
10 entries across 10 versions & 1 rubygems