Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Change MiniTest namespace to latest #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 lib/rim/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def self.logger=(logger)

def self.open(execute_dir, options = {})
log = @logger || Logger.new($stdout)
self.new(log, execute_dir, options)
new(log, execute_dir, options)
end

def self.next_invocation_id
Expand Down
4 changes: 0 additions & 4 deletions lib/rim/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ def remote_path(remote_url)
gsub(/\.\.[\\\/]/,'')
end

def get_relative_path(path)
FileHelper.get_relative_path(path, @ws_root)
end

def get_absolute_remote_url(remote_url)
if remote_url.start_with?("file:")
remote_url = remote_url.gsub(/^file:(\/\/)?/, "")
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