You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/06/09 01:54:44 UTC
svn commit: r1491103 - /buildr/trunk/spec/packaging/packaging_spec.rb
Author: donaldp
Date: Sat Jun 8 23:54:44 2013
New Revision: 1491103
URL: http://svn.apache.org/r1491103
Log:
Whitespace cleanup
Modified:
buildr/trunk/spec/packaging/packaging_spec.rb
Modified: buildr/trunk/spec/packaging/packaging_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/packaging/packaging_spec.rb?rev=1491103&r1=1491102&r2=1491103&view=diff
==============================================================================
--- buildr/trunk/spec/packaging/packaging_spec.rb (original)
+++ buildr/trunk/spec/packaging/packaging_spec.rb Sat Jun 8 23:54:44 2013
@@ -13,11 +13,9 @@
# License for the specific language governing permissions and limitations under
# the License.
-
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers'))
require File.expand_path(File.join(File.dirname(__FILE__), 'packaging_helper'))
-
describe Project, '#group' do
it 'should default to project name' do
desc 'My Project'
@@ -34,7 +32,6 @@ describe Project, '#group' do
end
end
-
describe Project, '#version' do
it 'should default to nil' do
define('foo').version.should be_nil
@@ -48,10 +45,8 @@ describe Project, '#version' do
define('foo', :version=>'2.1') { define 'bar' }
project('foo:bar').version.should eql('2.1')
end
-
end
-
describe Project, '#id' do
it 'should be same as project name' do
define('foo').id.should eql('foo')
@@ -410,13 +405,8 @@ POM
project('foo').packages.size.should == 2
end
end
-
end
-
-
-
-
describe Project, '#package file' do
it 'should be a file task' do
define 'foo' do
@@ -527,12 +517,6 @@ describe Project, '#package file' do
end
-
-
-
-
-
-
describe Rake::Task, ' package' do
it 'should be local task' do
define 'foo', :version=>'1.0' do
@@ -566,7 +550,6 @@ describe Rake::Task, ' package' do
end
end
-
describe Rake::Task, ' install' do
it 'should be local task' do
define 'foo', :version=>'1.0' do
@@ -603,7 +586,6 @@ describe Rake::Task, ' install' do
end
end
-
describe Rake::Task, ' uninstall' do
it 'should be local task' do
define 'foo', :version=>'1.0' do
@@ -630,7 +612,6 @@ describe Rake::Task, ' uninstall' do
end
end
-
describe Rake::Task, ' upload' do
before do
repositories.release_to = URI.escape("file://#{File.expand_path('remote')}")
@@ -692,7 +673,6 @@ describe Rake::Task, ' upload' do
end
end
-
describe Packaging, 'zip' do
it_should_behave_like 'packaging'
before { @packaging = :zip }
@@ -706,13 +686,11 @@ describe Packaging, 'zip' do
end
end
-
describe Packaging, ' tar' do
before { @packaging = :tar }
it_should_behave_like 'packaging'
end
-
describe Packaging, ' tgz' do
before { @packaging = :tgz }
it_should_behave_like 'packaging'