diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-24 18:04:56 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-24 18:04:56 +0200 |
| commit | 50ca5e40f461290a2db7452b95f80dd3188dba1d (patch) | |
| tree | 2d94b44463afa35ef6cab73b8aac70c38c4cc0bf /test/controllers/revisions_controller_test.rb | |
| parent | d5883869e97244335370d54e21ef46b3f1885899 (diff) | |
Rename layout classes to what they actually do
Diffstat (limited to 'test/controllers/revisions_controller_test.rb')
| -rw-r--r-- | test/controllers/revisions_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/controllers/revisions_controller_test.rb b/test/controllers/revisions_controller_test.rb index 96c6d6cf..bb21ea68 100644 --- a/test/controllers/revisions_controller_test.rb +++ b/test/controllers/revisions_controller_test.rb | |||
| @@ -33,8 +33,8 @@ class RevisionsControllerTest < ActionController::TestCase | |||
| 33 | login_as :quentin | 33 | login_as :quentin |
| 34 | get :show, params: { :node_id => @node.id, :id => @node.pages.last.id } | 34 | get :show, params: { :node_id => @node.id, :id => @node.pages.last.id } |
| 35 | assert_response :success | 35 | assert_response :success |
| 36 | assert_select ".node_description", "Body" | 36 | assert_select ".layout_row_label", "Body" |
| 37 | assert_select ".node_content", {:count => 1, :text => "second"} | 37 | assert_select ".layout_row_content", {:count => 1, :text => "second"} |
| 38 | end | 38 | end |
| 39 | 39 | ||
| 40 | test "showing a revision renders real markup in the body, not escaped entities" do | 40 | test "showing a revision renders real markup in the body, not escaped entities" do |
| @@ -46,7 +46,7 @@ class RevisionsControllerTest < ActionController::TestCase | |||
| 46 | 46 | ||
| 47 | get :show, params: { :node_id => node.id, :id => node.head.id } | 47 | get :show, params: { :node_id => node.id, :id => node.head.id } |
| 48 | assert_response :success | 48 | assert_response :success |
| 49 | assert_select ".node_content h3", "Hello" | 49 | assert_select ".layout_row_content h3", "Hello" |
| 50 | end | 50 | end |
| 51 | 51 | ||
| 52 | test "diffing two revisions" do | 52 | test "diffing two revisions" do |
