summaryrefslogtreecommitdiffhomepage
path: root/test/content_type
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/content_type
parent2bb450b398239a10d78cae519d342f5626dec711 (diff)
downloadcaxlsx-4d6ad02ffd6f375944c8d7619e55bb093f353af6.tar.gz
caxlsx-4d6ad02ffd6f375944c8d7619e55bb093f353af6.zip
Fix Style/RedundantFileExtensionInRequire offense
Diffstat (limited to 'test/content_type')
-rw-r--r--test/content_type/tc_content_type.rb2
-rw-r--r--test/content_type/tc_default.rb2
-rw-r--r--test/content_type/tc_override.rb3
3 files changed, 4 insertions, 3 deletions
diff --git a/test/content_type/tc_content_type.rb b/test/content_type/tc_content_type.rb
index 7cbaf5d5..e94f311e 100644
--- a/test/content_type/tc_content_type.rb
+++ b/test/content_type/tc_content_type.rb
@@ -1,4 +1,4 @@
-require 'tc_helper.rb'
+require 'tc_helper'
class TestContentType < Test::Unit::TestCase
def setup
diff --git a/test/content_type/tc_default.rb b/test/content_type/tc_default.rb
index 460cf017..e3d8d75e 100644
--- a/test/content_type/tc_default.rb
+++ b/test/content_type/tc_default.rb
@@ -1,4 +1,4 @@
-require 'tc_helper.rb'
+require 'tc_helper'
class TestDefault < Test::Unit::TestCase
def test_content_type_restriction
diff --git a/test/content_type/tc_override.rb b/test/content_type/tc_override.rb
index ff00df94..ad0699b5 100644
--- a/test/content_type/tc_override.rb
+++ b/test/content_type/tc_override.rb
@@ -1,4 +1,5 @@
-require 'tc_helper.rb'
+require 'tc_helper'
+
class TestOverride < Test::Unit::TestCase
def test_content_type_restriction
assert_raise(ArgumentError, "requires known content type") { Axlsx::Override.new :ContentType => "asdf" }