diff options
author | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-12-04 00:27:55 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-12-04 00:27:55 -0500 |
commit | 71f38cc19411c482c3cd932976a5183e089226eb (patch) | |
tree | f9753ab3307ae57a8e6fe93ce0e8c4c394eebfa6 /spec | |
parent | bb1d59b78fd197c992e2a59dd3b56b0ffe0d3320 (diff) |
fix the spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/githubrepo_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/githubrepo_spec.rb b/spec/githubrepo_spec.rb index c98244d..a193cd6 100644 --- a/spec/githubrepo_spec.rb +++ b/spec/githubrepo_spec.rb @@ -6,6 +6,10 @@ describe Oxidized::Node do before(:each) do asetus = Asetus.new asetus.cfg.output.git.repo = 'foo.git' + asetus.cfg.hooks.github_repo_hook.remote_repo = 'https://github.com/blah/blah.git' + asetus.cfg.hooks.github_repo_hook.username = 'username' + asetus.cfg.hooks.github_repo_hook.password = 'password' + GithubRepo.any_instance.stubs(:cfg).returns(asetus.cfg.hooks.github_repo_hook) Oxidized.stubs(:asetus).returns(asetus) repo = mock() remote = mock() |