test/gem_test.rb in ggem-1.1.0 vs test/gem_test.rb in ggem-1.1.1

- old
+ new

@@ -1,13 +1,13 @@ -require "test_belt" +require "assert" require "name_set" -module GGem - class GGemTest < Test::Unit::TestCase - include TestBelt +require "ggem/gem" - context "GGem::Gem" +module GGem + class GGemTest < Assert::Context + desc "GGem::Gem" end class RootPathTest < GGemTest should "know its root path" do assert_equal TMP_PATH, Gem.new(TMP_PATH, 'a-gem').root_path @@ -24,11 +24,11 @@ end class SaveTest < GGemTest NS = GGem::NameSet::Simple.new - context "after it's been saved" + desc "after it's been saved" setup_once do FileUtils.mkdir_p(TMP_PATH) Gem.new(TMP_PATH, NS.variations.first).save end teardown_once do @@ -38,6 +38,6 @@ should_create_paths((NS.expected_folders + NS.expected_files).collect do |p| File.join(TMP_PATH, NS.name, p) end) end -end \ No newline at end of file +end