init import from old mailr project (http://svn.littlegreen.org/mailr/trunk)

This commit is contained in:
Eugene Korbut 2009-01-08 05:27:12 +10:00
commit 51b79e7298
640 changed files with 34651 additions and 0 deletions

View file

@ -0,0 +1,14 @@
require File.dirname(__FILE__) + '/../test_helper'
class ExpressionTest < Test::Unit::TestCase
fixtures :expressions
def setup
@expression = Expression.find(1)
end
# Replace this with your real tests.
def test_truth
assert_kind_of Expression, @expression
end
end

14
test/unit/filter_test.rb Normal file
View file

@ -0,0 +1,14 @@
require File.dirname(__FILE__) + '/../test_helper'
class FilterTest < Test::Unit::TestCase
fixtures :filters
def setup
@filter = Filter.find(1)
end
# Replace this with your real tests.
def test_truth
assert_kind_of Filter, @filter
end
end

14
test/unit/user_test.rb Normal file
View file

@ -0,0 +1,14 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserTest < Test::Unit::TestCase
fixtures :users
def setup
@user = User.find(1)
end
# Replace this with your real tests.
def test_truth
assert_kind_of User, @user
end
end