Sha256: 3b1d654a3ee75d12b3c889e365af57989b3a68ebc040400a3b40f9e45e185a59
Contents?: true
Size: 449 Bytes
Versions: 5
Compression:
Stored size: 449 Bytes
Contents
require "test_helper" module Cogy class HelpersTest < ActionDispatch::IntegrationTest include Engine.routes.url_helpers setup { @routes = Engine.routes } def test_custom_helpers_can_access_default_helpers cmd :foohelper, cog_foo: "bar" assert_equal "bar", response.body end def test_custom_helper_with_arguments cmd :titleize assert_equal "This Should Be Titleized", response.body end end end
Version data entries
5 entries across 5 versions & 1 rubygems