Added shebangs and require 'test_helper' to all tests, so that they can be run standalone
This commit is contained in:
parent
ef65e5e78a
commit
ab63f1449d
12 changed files with 40 additions and 18 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/category'
|
||||
require 'chunks/match'
|
||||
require 'test/unit'
|
||||
|
||||
class CategoryTest < Test::Unit::TestCase
|
||||
include ChunkMatch
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/nowiki'
|
||||
require 'chunks/match'
|
||||
require 'test/unit'
|
||||
|
||||
class NoWikiTest < Test::Unit::TestCase
|
||||
include ChunkMatch
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/wiki'
|
||||
require 'chunks/match'
|
||||
require 'test/unit'
|
||||
|
||||
class WikiTest < Test::Unit::TestCase
|
||||
include ChunkMatch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue