Sha256: 5033c3ff9b1264b51de19d0886783151e9830ae3d8d74f13ff329ed7d0be763b
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
class MockController attr_accessor :action_name def _routes self end def 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
4 entries across 4 versions & 1 rubygems