Skip to content

Commit

Permalink
Update lesson system test
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciofierrom committed Mar 19, 2024
1 parent e8c2e8d commit c391ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/system/lessons_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class LessonsTest < ApplicationSystemTestCase

test "visiting the index" do
visit lessons_url
assert_selector ".lesson-title", text: "Lessons"
assert_selector ".title", text: "Lessons"
end

test "should create lesson" do
Expand Down Expand Up @@ -37,7 +37,7 @@ class LessonsTest < ApplicationSystemTestCase
# assert_text "Lesson was successfully updated"
click_on "Back to lessons"

assert_selector ".lesson-title", text: "Lessons"
assert_selector ".title", text: "Lessons"
assert_text "New Light"
end

Expand Down

0 comments on commit c391ccd

Please sign in to comment.