Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't assume the test box has a gemcutter account

Conflicts:
	test/test_support/geminabox_test_case.rb
  • Loading branch information...
commit 63151cefc790f75e46a7225aec9ad4bfccd3d96a 1 parent 11ccbf2
@cwninja cwninja authored
View
1  .gitignore
@@ -4,3 +4,4 @@ tmp/restart.txtGemfile.lock
Gemfile.lock
vendor/bundle
.rbenv-version
+test/fixtures/fake_home_path/.gem/specs
View
2  test/fixtures/fake_home_path/.gem/credentials
@@ -0,0 +1,2 @@
+---
+:rubygems_api_key: "fake key"
View
3  test/test_support/geminabox_test_case.rb
@@ -114,7 +114,8 @@ def execute(command)
def gemcutter_push(gemfile)
Geminabox::TestCase.setup_fake_home!
- command = "GEM_HOME=#{FAKE_HOME} gem push #{gemfile} --host '#{config.url_with_port(@test_server_port)}' 2>&1"
+ home = FIXTURES_PATH.join('fake_home_path')
+ command = "GEM_HOME=#{FAKE_HOME} HOME=#{home} gem push #{gemfile} --host '#{config.url_with_port(@test_server_port)}' 2>&1"
execute(command)
end
Please sign in to comment.
Something went wrong with that request. Please try again.