Skip to content

Commit

Permalink
fix rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Jan 21, 2024
1 parent 45882e2 commit d03896f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/unit/i18n_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def teardown
end

def test_valid_languages
assert valid_languages.is_a?(Array)
assert valid_languages.first.is_a?(Symbol)
assert_kind_of Array, valid_languages
assert_kind_of Symbol, valid_languages.first
end

def test_locales_validness
Expand Down
2 changes: 1 addition & 1 deletion test/unit/project_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_issue_view_columns_without_columns
project = projects :projects_003

assert_not project.issue_view_columns?
assert project.issue_view_columns.is_a? Array
assert_kind_of Array, project.issue_view_columns
assert_empty project.issue_view_columns
end
end
Expand Down

0 comments on commit d03896f

Please sign in to comment.