Add testing for locales

This commit is contained in:
Jyri-Petteri Paloposki 2021-01-05 17:13:03 +02:00
parent 3863191f48
commit da4f662aae
2 changed files with 24 additions and 0 deletions

View file

@ -10,6 +10,12 @@ class TodosControllerTest < ActionController::TestCase
# not done / deferred counts
############################
def test_locale_index
login_as(:other_user_email)
get :index
asser_response 200
end
def test_not_done_counts
login_as(:admin_user)
get :index