Minor readme typo and various whitespace fixups.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ def context(*args, &block)
|
||||
return super unless (name = args.first) && block
|
||||
require 'test/unit'
|
||||
klass = Class.new(defined?(ActiveSupport::TestCase) ? ActiveSupport::TestCase : Test::Unit::TestCase) do
|
||||
def self.test(name, &block)
|
||||
def self.test(name, &block)
|
||||
define_method("test_#{name.gsub(/\W/,'_')}", &block) if block
|
||||
end
|
||||
def self.xtest(*args) end
|
||||
|
||||
Reference in New Issue
Block a user