Sha256: 6317b65c9d56081f7f6bda7f239dac5faa6310755f22bd37f8553d2ce245c99c
Contents?: true
Size: 234 Bytes
Versions: 9
Compression:
Stored size: 234 Bytes
Contents
def filter(event) event.set('foo', 'bar') [event] end test "setting the field" do in_event { { "myfield" => 123 } } # This should fail! expect("foo to equal baz") do |events| events.first.get('foo') == 'baz' end end
Version data entries
9 entries across 9 versions & 1 rubygems