Sha256: b2d1505c7733987a269db76fb0589182f030f42d4b22f99e06f9a48a3d52945d
Contents?: true
Size: 673 Bytes
Versions: 3
Compression:
Stored size: 673 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
role-rails-1.3.1 | test/integration/slim_family_engines_test.rb |
role-rails-1.3.0 | test/integration/slim_family_engines_test.rb |
role-rails-1.2.1 | test/integration/slim_family_engines_test.rb |