[macruby-changes] [2724] MacRuby/trunk/misc/xcode-templates/Project Templates/Application/ MacRuby Application/Tests

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 5 10:50:00 PDT 2009


Revision: 2724
          http://trac.macosforge.org/projects/ruby/changeset/2724
Author:   eloy.de.enige at gmail.com
Date:     2009-10-05 10:50:00 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
Test additions to the application template are thanks to Dylan Bruzenak. #362.

Removed some whitespace and fixed my error of failing at including the author
again...

Modified Paths:
--------------
    MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/run_suite.rb
    MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/stub_test.rb

Modified: MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/run_suite.rb
===================================================================
--- MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/run_suite.rb	2009-10-05 17:42:34 UTC (rev 2723)
+++ MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/run_suite.rb	2009-10-05 17:50:00 UTC (rev 2724)
@@ -1,2 +1 @@
-
 Dir.glob(File.expand_path('../**/*_test.rb', __FILE__)).each { |test| require test }
\ No newline at end of file

Modified: MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/stub_test.rb
===================================================================
--- MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/stub_test.rb	2009-10-05 17:42:34 UTC (rev 2723)
+++ MacRuby/trunk/misc/xcode-templates/Project Templates/Application/MacRuby Application/Tests/stub_test.rb	2009-10-05 17:50:00 UTC (rev 2724)
@@ -3,15 +3,15 @@
 #require 'ruby_file_to_test'
 
 class SimpleTest < Test::Unit::TestCase
-	def setup
-		puts 'setup called'
-	end	
-	
-	def teardown
-		puts 'teardown called'
-	end
-	
-	def test_fail
-		assert(false, 'Assertion was false.')
-	end
+  def setup
+    puts 'setup called'
+  end
+  
+  def teardown
+    puts 'teardown called'
+  end
+  
+  def test_fail
+    assert false, 'Assertion was false.'
+  end
 end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091005/7dfd039b/attachment.html>


More information about the macruby-changes mailing list