diff --git a/test/controllers/commands_controller_test.rb b/test/controllers/commands_controller_test.rb index aba894715..ba1b0f460 100644 --- a/test/controllers/commands_controller_test.rb +++ b/test/controllers/commands_controller_test.rb @@ -44,7 +44,7 @@ class CommandsControllerTest < ActionDispatch::IntegrationTest json = JSON.parse(response.body) assert_match /Close 2 cards/, json["confirmation"] - assert_equal cards_path(assignee_ids: [users(:jz)]), json["redirect_to"] + assert_equal cards_path(assignee_ids: [ users(:jz) ]), json["redirect_to"] end test "get insight" do diff --git a/test/models/card/closeable_test.rb b/test/models/card/closeable_test.rb index 3834f53a1..21926aa6e 100644 --- a/test/models/card/closeable_test.rb +++ b/test/models/card/closeable_test.rb @@ -6,7 +6,7 @@ class Card::CloseableTest < ActiveSupport::TestCase end test "closed scope" do - assert_equal [cards(:shipping)], Card.closed + assert_equal [ cards(:shipping) ], Card.closed assert_not_includes Card.open, cards(:shipping) end diff --git a/test/test_helper.rb b/test/test_helper.rb index 8a6902941..2cce7f8d6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -12,7 +12,7 @@ VCR.configure do |config| config.hook_into :webmock config.filter_sensitive_data("") { Rails.application.credentials.openai_api_key || ENV["OPEN_AI_API_KEY"] } config.default_cassette_options = { - match_requests_on: [:method, :uri, :body] + match_requests_on: [ :method, :uri, :body ] } end diff --git a/test/test_helpers/vcr_test_helper.rb b/test/test_helpers/vcr_test_helper.rb index f181f3143..3b0910f01 100644 --- a/test/test_helpers/vcr_test_helper.rb +++ b/test/test_helpers/vcr_test_helper.rb @@ -35,6 +35,6 @@ module VcrTestHelper end def without_vcr_body_matching(&block) - VCR.use_cassette("#{@casette_name}_without_body", match_requests_on: [:method, :uri], &block) + VCR.use_cassette("#{@casette_name}_without_body", match_requests_on: [ :method, :uri ], &block) end end