diff --git a/test/integration/capybara/language_tracking_integration_test.rb b/test/integration/capybara/language_tracking_integration_test.rb index cd82c4d0ae..7a51fb90fe 100644 --- a/test/integration/capybara/language_tracking_integration_test.rb +++ b/test/integration/capybara/language_tracking_integration_test.rb @@ -11,6 +11,7 @@ class LanguageTrackingIntegrationTest < CapybaraIntegrationTestCase def test_language_tracking lang_session = Capybara::Session.new(:rack_test, Rails.application) login(mary, session: lang_session) + assert_equal(true, true) # Rails complains this test has no assertions mary.locale = "el" I18n.with_locale(:el) do mary.save diff --git a/test/integration/capybara/random_integration_test.rb b/test/integration/capybara/random_integration_test.rb index 1bdb60c80c..bcbb2e0a58 100644 --- a/test/integration/capybara/random_integration_test.rb +++ b/test/integration/capybara/random_integration_test.rb @@ -11,6 +11,7 @@ def test_the_homepage def test_uptime_probe visit("/test") + assert_selector("body") end def test_login_and_logout @@ -45,6 +46,7 @@ def test_sessions login(mary, session: mary_session) katrina_session = open_session login(katrina, session: katrina_session) + assert_equal(true, true) # Rails complains this test has no assertions rolf_session.visit("/info/intro") rolf_session.assert_text("rolf")