summaryrefslogtreecommitdiffhomepage
path: root/test/util
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-13 16:54:10 +0200
committerGeremia Taglialatela <[email protected]>2023-05-03 16:05:38 +0200
commit4d6ad02ffd6f375944c8d7619e55bb093f353af6 (patch)
treea544564e60127e845743457349da83b6bc80f401 /test/util
parent2bb450b398239a10d78cae519d342f5626dec711 (diff)
downloadcaxlsx-4d6ad02ffd6f375944c8d7619e55bb093f353af6.tar.gz
caxlsx-4d6ad02ffd6f375944c8d7619e55bb093f353af6.zip
Fix Style/RedundantFileExtensionInRequire offense
Diffstat (limited to 'test/util')
-rw-r--r--test/util/tc_mime_type_utils.rb3
-rw-r--r--test/util/tc_serialized_attributes.rb3
-rw-r--r--test/util/tc_simple_typed_list.rb3
-rw-r--r--test/util/tc_validators.rb3
4 files changed, 8 insertions, 4 deletions
diff --git a/test/util/tc_mime_type_utils.rb b/test/util/tc_mime_type_utils.rb
index 796c8f3a..ee7f447a 100644
--- a/test/util/tc_mime_type_utils.rb
+++ b/test/util/tc_mime_type_utils.rb
@@ -1,4 +1,5 @@
-require 'tc_helper.rb'
+require 'tc_helper'
+
class TestMimeTypeUtils < Test::Unit::TestCase
def setup
stub_request(:get, 'https://example.com/sample-image.png')
diff --git a/test/util/tc_serialized_attributes.rb b/test/util/tc_serialized_attributes.rb
index 886bafde..4ba90b29 100644
--- a/test/util/tc_serialized_attributes.rb
+++ b/test/util/tc_serialized_attributes.rb
@@ -1,4 +1,5 @@
-require 'tc_helper.rb'
+require 'tc_helper'
+
class Funk
include Axlsx::Accessors
include Axlsx::SerializedAttributes
diff --git a/test/util/tc_simple_typed_list.rb b/test/util/tc_simple_typed_list.rb
index 651764e1..e1ac6d99 100644
--- a/test/util/tc_simple_typed_list.rb
+++ b/test/util/tc_simple_typed_list.rb
@@ -1,4 +1,5 @@
-require 'tc_helper.rb'
+require 'tc_helper'
+
class TestSimpleTypedList < Test::Unit::TestCase
def setup
@list = Axlsx::SimpleTypedList.new Integer
diff --git a/test/util/tc_validators.rb b/test/util/tc_validators.rb
index 3cbc7692..59e4f559 100644
--- a/test/util/tc_validators.rb
+++ b/test/util/tc_validators.rb
@@ -1,4 +1,5 @@
-require 'tc_helper.rb'
+require 'tc_helper'
+
class TestValidators < Test::Unit::TestCase
def setup; end