Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #106 from Sage/skipnothing
Browse files Browse the repository at this point in the history
Remove useless message in absence of callbacks
  • Loading branch information
KevinBrowne committed Nov 8, 2015
2 parents ccba373 + ffe6042 commit 806d885
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions lib/fudge/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def run(options={})
success = super
if callbacks
return false unless run_callbacks(success)
else
message "Skipping callbacks..."
end
report_time(start_time, time)

Expand Down
3 changes: 1 addition & 2 deletions spec/lib/fudge/build_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
it "prints messages to the formatter instead of default" do
subject.run :formatter => formatter

expect(stdout.string).not_to be_empty
expect(stdout.string).to include "Skipping callbacks..."
expect(stdout.string).to be_empty
end

context "when there are callback hooks" do
Expand Down

0 comments on commit 806d885

Please sign in to comment.