Make node update work with the new require data public to edit policy. Added convenience testing method for the require data public. Add 2 new fixtures that are owned by the public user.

This commit is contained in:
Shaun McDonald 2009-04-26 22:46:41 +00:00
parent 788e817e4a
commit 10fdeb2021
7 changed files with 102 additions and 4 deletions

View file

@ -2,6 +2,10 @@ require File.dirname(__FILE__) + '/../test_helper'
class OldNodeTest < Test::Unit::TestCase
api_fixtures
def test_old_node_count
assert_equal 19, OldNode.count
end
def test_node_too_far_north
invalid_node_test(:node_too_far_north)