Update tests
This commit is contained in:
@@ -12,7 +12,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
|
||||
get events_path
|
||||
|
||||
assert_select "div.events__time-block[style='grid-area: 17/2']" do
|
||||
assert_select "strong", text: "David assigned JZ to \"Layout is broken\""
|
||||
assert_select "strong", text: "David assigned JZ to Layout is broken"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -22,7 +22,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
|
||||
get events_path
|
||||
|
||||
assert_select "div.events__time-block[style='grid-area: 22/2']" do
|
||||
assert_select "strong", text: "David assigned JZ to \"Layout is broken\""
|
||||
assert_select "strong", text: "David assigned JZ to Layout is broken"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -22,13 +22,13 @@ class Card::Eventable::SystemCommenterTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
test "card_closed" do
|
||||
assert_system_comment "Moved to Done by David" do
|
||||
assert_system_comment "Moved to “Done” by David" do
|
||||
@card.close
|
||||
end
|
||||
end
|
||||
|
||||
test "card_title_changed" do
|
||||
assert_system_comment "David changed the title from ‘The text is too small’ to ‘Make text larger’" do
|
||||
assert_system_comment "David changed the title from “The text is too small” to “Make text larger”" do
|
||||
@card.update! title: "Make text larger"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user