Skip to content

Commit

Permalink
Merge c2a4c07 into 67be380
Browse files Browse the repository at this point in the history
  • Loading branch information
cablegram committed Jul 13, 2013
2 parents 67be380 + c2a4c07 commit 785ae8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/guard/notifier.rb
Expand Up @@ -104,7 +104,7 @@ def turn_on
ENV['GUARD_NOTIFY'] = 'false'
else
notifications.each do |notification|
::Guard::UI.info "Guard uses #{ get_notifier_module(notification[:name]).to_s.split('::').last } to send notifications."
::Guard::UI.info "Guard is using #{ get_notifier_module(notification[:name]).to_s.split('::').last } to send notifications."
notifier = get_notifier_module(notification[:name])
notifier.turn_on(notification[:options]) if notifier.respond_to?(:turn_on)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/guard/notifier_spec.rb
Expand Up @@ -9,7 +9,7 @@
end

it 'shows the used notifications' do
Guard::UI.should_receive(:info).with 'Guard uses GNTP to send notifications.'
Guard::UI.should_receive(:info).with 'Guard is using GNTP to send notifications.'
Guard::Notifier.turn_on
end

Expand Down

0 comments on commit 785ae8b

Please sign in to comment.