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/27 02:57:52 UTC

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

Author: assaf
Date: Fri Mar 27 01:57:52 2009
New Revision: 758961

URL: http://svn.apache.org/viewvc?rev=758961&view=rev
Log:
Specs work better if we test against included gems (rake, rspec).

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=758961&r1=758960&r2=758961&view=diff
==============================================================================
--- buildr/trunk/spec/core/application_spec.rb (original)
+++ buildr/trunk/spec/core/application_spec.rb Fri Mar 27 01:57:52 2009
@@ -91,8 +91,8 @@
     def load_with_yaml
       write 'build.yaml', <<-YAML
         gems:
-        - haml
-        - rdoc >= 2.3.0
+        - rake
+        - rspec >= 1.2
       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('haml', 'rdoc')
+      Buildr.application.gems.map(&:name).should include('rspec', 'rake')
     end
 
     it 'should find installed version of Gem' do