Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent abb3609 commit 5b66e2407d7fc477de6b4a0edc9a104725a8ae2c Gabe Berke-Williams committed Sep 11, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/kumade/base.rb
  2. +2 −2 spec/kumade/git_spec.rb
View
@@ -12,7 +12,7 @@ def run_or_error(command, error_message)
error(error_message) unless run(command)
end
end
-
+
def run(command)
line = Cocaine::CommandLine.new(command)
begin
View
@@ -58,14 +58,14 @@
remove_remote(not_a_heroku_env)
end
- it "returns all environments" do
+ it "returns all Heroku environments" do
Kumade::Git.environments.should == ["staging"]
end
end
describe Kumade::Git, "#branch_exist?" do
let(:command_line_mock) { mock("Cocaine::CommandLine") }
- let(:branch) { "branch" }
+ let(:branch) { "branch" }
before do
Cocaine::CommandLine.should_receive(:new).with("git show-ref #{branch}").and_return(command_line_mock)

0 comments on commit 5b66e24

Please sign in to comment.