Skip to content

Commit

Permalink
lint a random file
Browse files Browse the repository at this point in the history
  • Loading branch information
osc-bot committed Oct 19, 2023
1 parent c2aa53d commit 34526e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/dashboard/test/integration/remote_files_test.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# frozen_string_literal: true

require 'test_helper'
require 'rclone_helper'

class RemoteFilesIntegrationTest < ActionDispatch::IntegrationTest

def put_file(path, file, content_type: 'text/plain')
# force binary encoding here, but the default utf-8 has the same behaviour
data = File.read(file).force_encoding('BINARY')
Expand Down

0 comments on commit 34526e1

Please sign in to comment.