<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,8 @@
 require 'rake'
 require 'spec'
+require 'cucumber'
 
+require 'cucumber/rake/task'
 require 'spec/rake/spectask'
 
 
@@ -12,8 +14,8 @@ Spec::Rake::SpecTask.new do |t|
   t.spec_opts = [&quot;-c&quot;]
 end
 
-task :cucumber do
-  system &quot;cucumber features&quot;
+Cucumber::Rake::Task.new(:features) do |t|
+  t.cucumber_opts = &quot;features --format progress&quot;
 end
 
-task :default =&gt; [:spec, :cucumber]
+task :default =&gt; [:spec, :features]</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -39,6 +39,7 @@ Feature: Play levels
     When I run rubywarrior
     And I choose &quot;Bill - short - level 2&quot; for &quot;profile&quot;
     Then I answer &quot;y&quot; to &quot;epic&quot;
+    And I should see &quot;epic mode&quot;
     When I run rubywarrior
     And I choose &quot;Bill - short - first score 34 - epic score 0&quot; for &quot;profile&quot;
     Then I should see &quot;top of the tower&quot;</diff>
      <filename>features/levels.feature</filename>
    </modified>
    <modified>
      <diff>@@ -47,6 +47,7 @@ describe RubyWarrior::Game do
   end
   
   it &quot;should ask user to choose a tower when creating a new profile&quot; do
+    RubyWarrior::UI.stubs(:gets).returns('')
     @game.stubs(:towers).returns([:tower1, :tower2])
     RubyWarrior::UI.expects(:choose).with('tower', [:tower1, :tower2]).returns(stub(:path =&gt; '/foo/bar'))
     @game.new_profile</diff>
      <filename>spec/ruby_warrior/game_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>14c9a2cf84be1529491297d4b91c613991ff22d8</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </author>
  <url>http://github.com/ryanb/ruby-warrior/commit/01abe1a1201921ae49207a648f2646a106e47ae5</url>
  <id>01abe1a1201921ae49207a648f2646a106e47ae5</id>
  <committed-date>2009-07-24T15:14:50-07:00</committed-date>
  <authored-date>2009-07-24T15:14:50-07:00</authored-date>
  <message>fixing a couple unsteady tests and improving how they are displayed with rake task</message>
  <tree>3033e3e0534abd06a469cbf86fe49bae766ef590</tree>
  <committer>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </committer>
</commit>
