You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2009/03/08 17:41:42 UTC
svn commit: r751469 - /buildr/trunk/spec/scala/scala.rb
Author: boisvert
Date: Sun Mar 8 16:41:41 2009
New Revision: 751469
URL: http://svn.apache.org/viewvc?rev=751469&view=rev
Log:
Add spec for Scala.version_str
Modified:
buildr/trunk/spec/scala/scala.rb
Modified: buildr/trunk/spec/scala/scala.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/scala.rb?rev=751469&r1=751468&r2=751469&view=diff
==============================================================================
--- buildr/trunk/spec/scala/scala.rb (original)
+++ buildr/trunk/spec/scala/scala.rb Sun Mar 8 16:41:41 2009
@@ -19,6 +19,7 @@
describe 'scala' do
# Specific version of Scala required for specs
required_version = '2.7.3'
+ scala_version_str = "version 2.7.3.final"
it 'should automatically add the remote scala-tools.org repository' do
# NOTE: the sandbox environment clears "repositories.remote" so we can't
@@ -26,7 +27,12 @@
#
# repositories.remote.should include('http://scala-tools.org/repo-releases')
end
+
it "specifications require Scala #{required_version}" do
Scala.version.should eql(required_version)
end
+
+ it "should provide the Scala version string" do
+ Scala.version_str.should eql(scala_version_str)
+ end
end