Sha256: 0e5ee7713f92a03047624683c16c9f32e38217a2f7bd79807bde23c200059c51
Contents?: true
Size: 571 Bytes
Versions: 11
Compression:
Stored size: 571 Bytes
Contents
require 'test_helper' class StaticPagesControllerTest < ActionController::TestCase test "helper should return data attribute for controller" do get :index assert_equal "data-controller='StaticPages' data-action='Index'", @controller.view_context.page_data_attr end end class Fruit::BananasControllerTest < ActionController::TestCase test "helper should return data attribute for controller" do get :index assert_equal "data-controller='Fruit_Bananas' data-action='Index'", @controller.view_context.page_data_attr end end
Version data entries
11 entries across 11 versions & 1 rubygems