Sha256: 3177a3e0664891c17d8e25ba52a3c9cd3c84e6239f8ff920e165b208f8c25e35
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
module RSpec module TestSpec # In RSpec, notifications are value objects that are passed to formatters # to provide those formatters with information about a particular event. Notification = Struct.new(:example, :type, :message, :options) # Originally I did this: # class Notification < Struct.new(:example, :type, :message, :options) # end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
test_spec-1.1.0 | lib/test_spec/rspec/notification.rb |
test_spec-1.0.0 | lib/test_spec/rspec/notification.rb |
test_spec-0.1.0 | lib/test_spec/rspec/notification.rb |