From a6eea1a843c29112a737e77d6cb813c8980fb836 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 8 Feb 2009 15:15:43 +0100 Subject: added basic user model and user_id on page model to introduce the concept of authors. --- test/fixtures/users.yml | 13 +++++++++++++ test/unit/user_test.rb | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100644 test/fixtures/users.yml create mode 100644 test/unit/user_test.rb (limited to 'test') diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml new file mode 100644 index 0000000..74fafbd --- /dev/null +++ b/test/fixtures/users.yml @@ -0,0 +1,13 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +one: + login: MyString + email: MyString + crypted_password: MyString + salt: MyString + +two: + login: MyString + email: MyString + crypted_password: MyString + salt: MyString diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb new file mode 100644 index 0000000..a64d2d3 --- /dev/null +++ b/test/unit/user_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class UserTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end -- cgit v1.3