diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 16:24:52 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-08 16:24:52 +0200 |
| commit | a5d7fb9730aa629b3eb8244ee1b3dd863fbfbed5 (patch) | |
| tree | ea85221365663b7c107576de59ae6cd45672baf4 /test | |
| parent | 43e7743ebff1b1f41bbb5ae39bcc5bed7d8982e3 (diff) | |
Fix node_content count in show-with-published-draft test
Fallout from the earlier nodes#show heading change, which replaced the
Title row with an <h1> -- unrelated to the autosave work in the
preceding commits.
Diffstat (limited to 'test')
| -rw-r--r-- | test/controllers/nodes_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/controllers/nodes_controller_test.rb b/test/controllers/nodes_controller_test.rb index f0be8c9..030cff0 100644 --- a/test/controllers/nodes_controller_test.rb +++ b/test/controllers/nodes_controller_test.rb | |||
| @@ -222,7 +222,7 @@ class NodesControllerTest < ActionController::TestCase | |||
| 222 | node = create_node_with_published_page | 222 | node = create_node_with_published_page |
| 223 | get :show, params: { :id => node.id } | 223 | get :show, params: { :id => node.id } |
| 224 | assert_response :success | 224 | assert_response :success |
| 225 | assert_select "div.node_content", :text => "Test", :count => 3 | 225 | assert_select "div.node_content", :text => "Test", :count => 2 |
| 226 | end | 226 | end |
| 227 | 227 | ||
| 228 | test "unlocking a locked node" do | 228 | test "unlocking a locked node" do |
