Sha256: ca68ef2039109bc8a8e00221e51a760ed80a49c97c04c83cd778abdbde00abbe
Contents?: true
Size: 423 Bytes
Versions: 23
Compression:
Stored size: 423 Bytes
Contents
class MockController attr_writer :action_name def _routes self end def action_name defined?(@action_name) ? @action_name : "edit" end def url_for(*args) "http://example.com" end def url_helpers self end def hash_for_user_path(*args); end def hash_for_validating_user_path(*args); end def hash_for_other_validating_user_path(*args); end def hash_for_users_path(*args); end end
Version data entries
23 entries across 23 versions & 5 rubygems
Version | Path |
---|---|
simple_form-2.0.1 | test/support/mock_controller.rb |
simple_form-2.0.0 | test/support/mock_controller.rb |
simple_form-2.0.0.rc | test/support/mock_controller.rb |