Permalink
Browse files

Whitespace and parentheses.

  • Loading branch information...
1 parent 8949cdc commit 7e255bfe1877142e723c80939a9d2ddde9d543a0 @gabebw gabebw committed Sep 9, 2011
Showing with 4 additions and 2 deletions.
  1. +2 −1 lib/kumade/deployer.rb
  2. +1 −1 lib/kumade/git.rb
  3. +1 −0 spec/kumade/git_spec.rb
@@ -57,6 +57,7 @@ def heroku(command)
def cedar?
return @cedar unless @cedar.nil?
+
@cedar = heroku("stack").split("\n").grep(/\*/).any? do |line|
line.include?("cedar")
end
@@ -107,7 +108,7 @@ def package_with_more
end
def invoke_custom_task
- success "Running kumade:before_asset_compilation task"
+ success("Running kumade:before_asset_compilation task")
Rake::Task["kumade:before_asset_compilation"].invoke unless pretending
end
View
@@ -4,7 +4,7 @@ class Git < Base
attr_reader :environment
def initialize(pretending, environment)
super()
- @pretending = pretending
+ @pretending = pretending
@environment = environment
end
@@ -67,6 +67,7 @@
it "returns false if the branch doesn't exist" do
command_line_mock.should_receive(:run).and_raise(Cocaine::ExitStatusError)
+
subject.branch_exist?("branch").should be_false
end
end

0 comments on commit 7e255bf

Please sign in to comment.