Sha256: 3fd83b39357e705ee39b5040f21222dee98caf4130c1fb6e01d67dba4e247b3a
Contents?: true
Size: 674 Bytes
Versions: 1
Compression:
Stored size: 674 Bytes
Contents
require 'helper' class SlimFamilyEnginesTest < ActionDispatch::IntegrationTest context "skim engine" do should 'setup role attribute' do get("/assets/application.js") assert_match /<div role=\\"implicitly_defined\\">/, response.body assert_match /<div role=\\"explicitly_defined\\">/, response.body end end context 'slim engine' do should 'setup role attribute' do get "/" assert_tag :tag => 'div', :attributes => { :role => 'implicitly_defined' } assert_tag :tag => 'div', :attributes => { :role => 'explicitly_defined' } assert_tag :tag => 'div', :attributes => { :role => 'foo bar' } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
role-rails-1.4.0 | test/integration/slim_family_engines_test.rb |