test/wwwjdic/test_application.rb in wwwjdic-16.0.0 vs test/wwwjdic/test_application.rb in wwwjdic-16.1.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
#--
# wwwjdic
-# rubocop:disable Style/AsciiComments
-# © 2014 Marco Bresciani
-# rubocop:enable Style/AsciiComments
+# © 2014-2021 Marco Bresciani
#
# This file is part of wwwjdic.
#
# wwwjdic is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
@@ -19,11 +17,11 @@
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
#
-# SPDX-FileCopyrightText: 2014 Marco Bresciani
+# SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
#
# SPDX-License-Identifier: GPL-3.0-or-later
#++
require_relative '../test_helper'
@@ -144,10 +142,10 @@
end
def test_override_custom_params(a_word, dict)
it 'shall override user-custom display parameter for raw display' do
_(subject.raw_uri(a_word, display: :regular,
- dict: WWWJDic::AVAIL_LANGS[dict])).must_include WWWJDic::DISPLAY[:raw]
+ dict: WWWJDic::AVAIL_LANGS[dict])).must_include WWWJDic::DISPLAY[:raw]
end
end
def test_multiple_languages
describe 'when considering multiple languages' do