Skip to content

Commit

Permalink
Merge pull request #16 from doxavore/guard-rspec-formatter
Browse files Browse the repository at this point in the history
Guard::Rspec::Formatter is now a class, not a module
  • Loading branch information
jkutner committed Nov 8, 2012
2 parents 51eee24 + 5f8ec60 commit 076dbbb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/guard/jruby-rspec/formatters/notification_rspec.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
require "guard/rspec/formatter"
require "rspec/core/formatters/base_formatter"

class Guard::JRubyRSpec::Formatter::NotificationRSpec < RSpec::Core::Formatters::BaseFormatter
include Guard::RSpec::Formatter
class Guard::JRubyRSpec::Formatter::NotificationRSpec < Guard::RSpec::Formatter

def dump_summary(duration, total, failures, pending)
message = guard_message(total, failures, pending, duration)
image = guard_image(failures, pending)
notify(message, image)
end

end
end

0 comments on commit 076dbbb

Please sign in to comment.