Permalink
Browse files

test fixes and skips for maglev

[git-p4: depot-paths = "//src/hoe/dev/": change = 8158]
  • Loading branch information...
1 parent 527bde1 commit bc6a8a01b31b077ee5a8fe1de3736eb691102723 @zenspider zenspider committed Jan 25, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 test/test_hoe.rb
  2. +2 −2 test/test_hoe_debug.rb
View
4 test/test_hoe.rb
@@ -408,9 +408,9 @@ def system cmd
end
end
- assert_match(/^(sudo )?j?gem.*/, hoe.install_gem('foo'))
+ assert_match(/^(sudo )?(j|maglev-)?gem.*/, hoe.install_gem('foo'))
ENV['NOSUDO'] = '1'
- assert_match(/^j?gem.*/, hoe.install_gem('foo'))
+ assert_match(/^(j|maglev-)?gem.*/, hoe.install_gem('foo'))
ensure
ENV.delete "NOSUDO"
end
View
4 test/test_hoe_debug.rb
@@ -42,6 +42,8 @@ def test_check_manifest_generated
end
def test_check_manifest_missing
+ skip "https://github.com/MagLev/maglev/issues/224" if maglev?
+
in_tmpdir do
manifest
@@ -105,6 +107,4 @@ def manifest extra = nil
def with_config
yield({ 'exclude' => [] }, '~/.hoerc')
end
-
end
-

0 comments on commit bc6a8a0

Please sign in to comment.