From f10e79a554bd0666de6390c4bc34b52c8ecd936d Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 12 Feb 2009 00:02:39 +0100 Subject: * removed the auditing observer, we'll do it the old fashioned way * added permission model * locked down attributes on page model --- test/fixtures/permissions.yml | 7 +++++++ test/unit/permission_test.rb | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/fixtures/permissions.yml create mode 100644 test/unit/permission_test.rb (limited to 'test') diff --git a/test/fixtures/permissions.yml b/test/fixtures/permissions.yml new file mode 100644 index 0000000..5bf0293 --- /dev/null +++ b/test/fixtures/permissions.yml @@ -0,0 +1,7 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +# one: +# column: value +# +# two: +# column: value diff --git a/test/unit/permission_test.rb b/test/unit/permission_test.rb new file mode 100644 index 0000000..08fcc0b --- /dev/null +++ b/test/unit/permission_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class PermissionTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end -- cgit v1.3