You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2009/03/12 20:25:11 UTC

svn commit: r752980 - /buildr/trunk/spec/core/application_spec.rb

Author: assaf
Date: Thu Mar 12 19:25:11 2009
New Revision: 752980

URL: http://svn.apache.org/viewvc?rev=752980&view=rev
Log:
Fixed application_spec to not fail when newer version of Rake installed.

Modified:
    buildr/trunk/spec/core/application_spec.rb

Modified: buildr/trunk/spec/core/application_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/application_spec.rb?rev=752980&r1=752979&r2=752980&view=diff
==============================================================================
--- buildr/trunk/spec/core/application_spec.rb (original)
+++ buildr/trunk/spec/core/application_spec.rb Thu Mar 12 19:25:11 2009
@@ -91,8 +91,8 @@
     def load_with_yaml
       write 'build.yaml', <<-YAML
         gems:
-        - rspec
-        - rake >= 0.8
+        - haml
+        - rdoc >= 2.3.0
       YAML
       Buildr.application.load_gems
     end
@@ -114,7 +114,7 @@
 
     it 'should parse Gem name correctly' do
       load_with_yaml
-      Buildr.application.gems.map(&:name).should include('rake', 'rspec')
+      Buildr.application.gems.map(&:name).should include('haml', 'rdoc')
     end
 
     it 'should find installed version of Gem' do