Skip to content

Commit

Permalink
test fixes and skips for maglev
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/hoe/dev/": change = 8158]
  • Loading branch information
zenspider committed Jan 25, 2013
1 parent 527bde1 commit bc6a8a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_hoe.rb
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/test_hoe_debug.rb
Expand Up @@ -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

Expand Down Expand Up @@ -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.