diff options
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 | ||||
-rw-r--r-- | test/functional/messages_controller_test.rb | 2 | ||||
-rw-r--r-- | test/integration/api_test/users_test.rb | 2 | ||||
-rw-r--r-- | test/integration/routing/plugins_test.rb | 4 | ||||
-rw-r--r-- | test/unit/lib/redmine/acts/mentionable_test.rb | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 1aa0446d0..cce8ddc62 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1199,7 +1199,7 @@ class IssuesControllerTest < Redmine::ControllerTest create!( :name => 'Long text', :field_format => 'text', :full_width_layout => '1', - :tracker_ids => [1,3], :is_for_all => true + :tracker_ids => [1, 3], :is_for_all => true ) issue = Issue.find(1) issue.custom_field_values = {field.id => 'This is a long text'} diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb index ffb0c7e25..85f45f1d7 100644 --- a/test/functional/messages_controller_test.rb +++ b/test/functional/messages_controller_test.rb @@ -318,7 +318,7 @@ class MessagesControllerTest < Redmine::ControllerTest :params => { :board_id => 1, :id => 3 - }, + } ) assert_response 404 diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb index 5f5c65ff0..995dc689f 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -139,7 +139,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base assert_response :success json = ActiveSupport::JSON.decode(response.body) assert json.key?('users') - users = User.where(status: [1,3]) + users = User.where(status: [1, 3]) assert_equal users.size, json['users'].size end diff --git a/test/integration/routing/plugins_test.rb b/test/integration/routing/plugins_test.rb index 48792b1aa..ddbf415a1 100644 --- a/test/integration/routing/plugins_test.rb +++ b/test/integration/routing/plugins_test.rb @@ -75,8 +75,8 @@ class RoutingPluginsTest < Redmine::RoutingTest assert_equal("/bar_plugin_articles", plugin_articles_path) should_route( 'GET /attachments/plugin_articles/12/edit' => 'attachments#edit_all', - object_id: '12', - object_type: 'plugin_articles' + :object_id => '12', + :object_type => 'plugin_articles' ) end diff --git a/test/unit/lib/redmine/acts/mentionable_test.rb b/test/unit/lib/redmine/acts/mentionable_test.rb index b04f12954..8cc86057f 100644 --- a/test/unit/lib/redmine/acts/mentionable_test.rb +++ b/test/unit/lib/redmine/acts/mentionable_test.rb @@ -29,7 +29,7 @@ class Redmine::Acts::MentionableTest < ActiveSupport::TestCase :issues def test_mentioned_users_with_user_mention - to_test = %w(@dlopper @dlopper! @dlopper? @dlopper. @dlopper,) + to_test = %w(@dlopper @dlopper! @dlopper? @dlopper. @dlopper) to_test.each do |item| issue = Issue.generate!(project_id: 1, description: item) |