aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfrancis <francis>2007-08-01 16:41:32 +0000
committerfrancis <francis>2007-08-01 16:41:32 +0000
commit9bd8bc16d6dcc78b2dade214f28f7251a1a11f9b (patch)
treebe3eede16fcb68730a0c475303435267abc833e2 /test
parentf1689d3521d1fdee901d375d67e7168eaa3ca38a (diff)
User table, and some dodgy authentication code.
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/users.yml5
-rw-r--r--test/unit/user_test.rb10
2 files changed, 15 insertions, 0 deletions
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml
new file mode 100644
index 000000000..b49c4eb4e
--- /dev/null
+++ b/test/fixtures/users.yml
@@ -0,0 +1,5 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+one:
+ id: 1
+two:
+ id: 2
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
new file mode 100644
index 000000000..5468f7a2d
--- /dev/null
+++ b/test/unit/user_test.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../test_helper'
+
+class UserTest < Test::Unit::TestCase
+ fixtures :users
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end