<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,21 +12,22 @@ describe Bones::App do
   before :all do
     @out = StringIO.new
     @err = StringIO.new
+    Bones::App.initialize_plugins
   end
 
   before :each do
     @runner = ::Runner.new
-    @app = Bones::App.new(@out, @err)
+    @runner.stub!(:parse).and_return(Hash.new)
 
-    Bones::App::CreateCommand.stub!(:new).
+    @app = Bones::App::Main.new(:stdout =&gt; @out, :stderr =&gt; @err)
+
+    Bones::App::Create.stub!(:new).
         and_return {@runner.name = :create; @runner}
-    Bones::App::UpdateCommand.stub!(:new).
-        and_return {@runner.name = :update; @runner}
-    Bones::App::FreezeCommand.stub!(:new).
+    Bones::App::Freeze.stub!(:new).
         and_return {@runner.name = :freeze; @runner}
-    Bones::App::UnfreezeCommand.stub!(:new).
+    Bones::App::Unfreeze.stub!(:new).
         and_return {@runner.name = :unfreeze; @runner}
-    Bones::App::InfoCommand.stub!(:new).
+    Bones::App::Info.stub!(:new).
         and_return {@runner.name = :info; @runner}
   end
 
@@ -40,11 +41,6 @@ describe Bones::App do
     @runner.name.should == :create
   end
 
-  it 'should provide an update command' do
-    @app.run %w[update]
-    @runner.name.should == :update
-  end
-
   it 'should provide a freeze command' do
     @app.run %w[freeze]
     @runner.name.should == :freeze
@@ -62,34 +58,34 @@ describe Bones::App do
 
   it 'should provide a help command' do
     @app.run %w[--help]
-    @out.readline
+    4.times { @out.readline }
     @out.readline.should match(%r/^  Mr Bones is a handy tool that builds/)
     @out.clear
 
     @app.run %w[-h]
-    @out.readline
+    4.times { @out.readline }
     @out.readline.should match(%r/^  Mr Bones is a handy tool that builds/)
   end
 
   it 'should default to the help message if no command is given' do
     @app.run []
-    @out.readline
+    4.times { @out.readline }
     @out.readline.should match(%r/^  Mr Bones is a handy tool that builds/)
   end
 
   it 'should report an error for unrecognized commands' do
     lambda {@app.run %w[foo]}.should raise_error(SystemExit)
-    @err.readline.should == 'ERROR:  While executing bones ... (RuntimeError)'
+    @err.readline.should == 'ERROR:  While executing bones ...'
     @err.readline.should == '    Unknown command &quot;foo&quot;'
   end
 
   it 'should report a version number' do
     @app.run %w[--version]
-    @out.readline.should == &quot;Mr Bones #{Bones::VERSION}&quot;
+    @out.readline.should == &quot;Mr Bones v#{Bones::VERSION}&quot;
     @out.clear
 
     @app.run %w[-v]
-    @out.readline.should == &quot;Mr Bones #{Bones::VERSION}&quot;
+    @out.readline.should == &quot;Mr Bones v#{Bones::VERSION}&quot;
   end
 
 end  # describe Bones::App</diff>
      <filename>spec/bones/app_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9206a5026df2bb350c1e6e650d3fcb9da49ee791</id>
    </parent>
  </parents>
  <author>
    <name>Tim Pease</name>
    <email>tim.pease@gmail.com</email>
  </author>
  <url>http://github.com/TwP/bones/commit/1517a110b392293a7cf3c9401f6b21293b3dc9a9</url>
  <id>1517a110b392293a7cf3c9401f6b21293b3dc9a9</id>
  <committed-date>2009-11-06T17:14:15-08:00</committed-date>
  <authored-date>2009-11-06T17:14:15-08:00</authored-date>
  <message>Fixing the specs so they work again.</message>
  <tree>bbca389d89328f161a134e30a9199d2afac81daf</tree>
  <committer>
    <name>Tim Pease</name>
    <email>tim.pease@gmail.com</email>
  </committer>
</commit>
