Skip to content

Commit

Permalink
Change MiniTest namespace to latest
Browse files Browse the repository at this point in the history
MiniTest namespace which runs test cases changed to Minitest name.
As we are using older version test cases where failing to execute.
Fixed the namespaces and refactored some code.
  • Loading branch information
sudeeptarlekar committed May 7, 2024
1 parent 35174c2 commit 52ef8df
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/rim/command_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def check_arguments
def create_module_info(remote_url, local_path, target_revision, ignores, subdir)
ModuleInfo.new(
remote_url,
get_relative_path(local_path),
FileHelper.get_relative_path(local_path),
target_revision,
ignores,
remote_url ? get_remote_branch_format(remote_url) : nil,
Expand Down
2 changes: 1 addition & 1 deletion test/dirty_check_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require 'rim/rim_info'
require 'rim/dirty_check'

class DirtyCheckTest < MiniTest::Test
class DirtyCheckTest < Minitest::Test

include FileUtils
include TestHelper
Expand Down
2 changes: 1 addition & 1 deletion test/git_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require 'test_helper'
require 'rim/git'

class GitTest < MiniTest::Test
class GitTest < Minitest::Test

include FileUtils
include TestHelper
Expand Down
2 changes: 1 addition & 1 deletion test/rim_info_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require 'test_helper'
require 'rim/rim_info'

class RimInfoTest < MiniTest::Test
class RimInfoTest < Minitest::Test

include FileUtils
include TestHelper
Expand Down
2 changes: 1 addition & 1 deletion test/status_builder_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
require 'rim/dirty_check'
require 'rim/status_builder'

class StatusBuilderTest < MiniTest::Test
class StatusBuilderTest < Minitest::Test

include FileUtils
include TestHelper
Expand Down

0 comments on commit 52ef8df

Please sign in to comment.