Sha256: 73692d5e9c3b6de0c5cf84e656c22e51e1c16db1c77fc5f92bb195f6d6862be5

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

require 'test_helper'

class TagsTest < ActionDispatch::IntegrationTest
  
  test "tags should return id and class with hyphens" do
    get '/'
    assert_response :success
    assert response.body.include?('class="the-class" id="the-id"')
  end

  test "forms tags should return id and class with hyphens" do
    get '/form'
    assert_response :success
    assert response.body.include?('for="test-id"')
    assert response.body.include?('class="the-class" id="test-id"')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hyphenify-0.0.9 test/tags_test.rb
hyphenify-0.0.7 test/tags_test.rb
hyphenify-0.0.6 test/tags_test.rb