Sha256: 9ccb97bb421acf1db3a0696b90b48f9245a22dc1bc4b558f94b6a2e9d1cebed4
Contents?: true
Size: 861 Bytes
Versions: 4
Compression:
Stored size: 861 Bytes
Contents
class Views::HelpersSystemSpec::UrlHelpersWithoutAutomaticHelperAccess < Fortitude::Widgets::Html5 automatic_helper_access false def content excitedly_value = begin excitedly("great") rescue => e e.class.name end root_path_value = begin root_path rescue => e e.class.name end foo_path_value = begin foo_path rescue => e e.class.name end foo_url_value = begin foo_url rescue => e e.class.name end foo_url_with_host_override_value = begin foo_url(:host => 'override.com') rescue => e e.class.name end p "Excitedly: #{excitedly_value}" p "Root Path: #{root_path_value}" p "Foo Path: #{foo_path_value}" p "Foo Url: #{foo_url_value}" p "Foo Url with host override: #{foo_url_with_host_override_value}" end end
Version data entries
4 entries across 4 versions & 1 rubygems