Sha256: 27570f1244387b8c4a09188dd78c2b4a6996e25138e81e343b40dd0627dc23a1

Contents?: true

Size: 245 Bytes

Versions: 21

Compression:

Stored size: 245 Bytes

Contents

require 'test/unit'
require File.dirname(__FILE__) + '/../../../../test/test_helper'

class <%= class_name %>Test < Test::Unit::TestCase
  def test_sidebar_is_available
    assert Sidebar.available_sidebars.include?(<%= class_name %>)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
typo-5.5 lib/generators/sidebar/templates/unit_test.rb
typo-5.4.4 lib/generators/sidebar/templates/unit_test.rb
typo-5.4.3 lib/generators/sidebar/templates/unit_test.rb
typo-5.4.2 lib/generators/sidebar/templates/unit_test.rb
typo-5.4.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.4 lib/generators/sidebar/templates/unit_test.rb
typo-4.1.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.0.2 lib/generators/sidebar/templates/unit_test.rb
typo-4.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.0.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.0.3.98.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.0 lib/generators/sidebar/templates/unit_test.rb
typo-5.0.3.98 lib/generators/sidebar/templates/unit_test.rb
typo-5.1.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.1.2 lib/generators/sidebar/templates/unit_test.rb
typo-5.1.3 lib/generators/sidebar/templates/unit_test.rb
typo-5.1.98 lib/generators/sidebar/templates/unit_test.rb
typo-5.1 lib/generators/sidebar/templates/unit_test.rb
typo-5.2 lib/generators/sidebar/templates/unit_test.rb
typo-5.2.98 lib/generators/sidebar/templates/unit_test.rb