Deleted: trunk/manifest/spec/test_helper.rb (18 => 19)
--- trunk/manifest/spec/test_helper.rb 2009-02-22 15:53:05 UTC (rev 18)
+++ trunk/manifest/spec/test_helper.rb 2009-02-22 15:53:45 UTC (rev 19)
@@ -1,5 +0,0 @@
-# Copyright Antoine Toulme 2008
-
-require 'rubygems'
-require 'spec'
-require File.dirname(__FILE__) + '/../lib/manifest'
Deleted: trunk/manifest/spec/test_manifest.rb (18 => 19)
--- trunk/manifest/spec/test_manifest.rb 2009-02-22 15:53:05 UTC (rev 18)
+++ trunk/manifest/spec/test_manifest.rb 2009-02-22 15:53:45 UTC (rev 19)
@@ -1,25 +0,0 @@
-# Copyright Antoine Toulme 2008
-
-require File.dirname(__FILE__) + '/test_helper.rb'
-
-
-describe "Able to parse a manifest" do
-
- before do
- @sections = Manifest.read(File.open("#{File.dirname(__FILE__)}/manifest_org.eclipse.compare.MF").read)
- end
-
- it "should be able to guess the version number of the manifest" do
- @sections.first["Manifest-Version"].keys[0].should eql("1.0")
- end
-
- it "should be able to find the value of an attribute embedded in an entry" do
- @sections.first["Bundle-SymbolicName"]["org.eclipse.compare"]["singleton"].should eql("true")
- end
-
- it "should be able to find the value of attributes attached to several values in an entry" do
- @sections.first["Require-Bundle"]["org.eclipse.ui"]["bundle-version"].should eql("\"[3.3.0,4.0.0)\"")
- @sections.first["Require-Bundle"]["org.eclipse.core.resources"]["bundle-version"].should eql("\"[3.3.0,4.0.0)\"")
- @sections.first["Require-Bundle"]["org.eclipse.core.expressions"]["bundle-version"].should eql("\"[3.2.0,4.0.0)\"")
- end
-end