Sha256: 4eb7ae500cb53481667154fcb2317d2a05c3c612cc3cc513490ab86978748314

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

class ExtensionsTest < Test::Unit::TestCase
  test "Should load the needed extensions" do

    real_names   = Aura::Extension.active.map { |ext| ext.name }
    needed_names = Main.additional_extensions

    p real_names
    assert_equal real_names.sort, needed_names.sort
  end

  test "Extension.all" do
    all = Aura::Extension.all

    assert_equal 2, all.size
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 test/unit/extensions_test.rb