blob: 85f151af9ac0326cb8d52d354505eca091bbc060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'test_helper'
class NodesControllerTest < ActionController::TestCase
include AuthenticatedTestHelper
def test_get_index
login_as :quentin
get :index
assert_response :success
end
def test_update_a_draft
test_node = Node.create! :slug => "test_node"
test_node.move_to_child_of Node.root
login_as :quentin
end
end
|