mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-14 05:08:51 +01:00
Add testing for locales
This commit is contained in:
parent
3863191f48
commit
da4f662aae
2 changed files with 24 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue