spec/formatters/logstash_spec.rb in lograge-0.2.2 vs spec/formatters/logstash_spec.rb in lograge-0.3.0
- old
+ new
@@ -11,15 +11,12 @@
controller: 'welcome',
action: 'index'
}
end
subject { described_class.new.call(payload) }
- it { should match(/"@source":"unknown"/) }
- it { should match(/"@tags":\[\]/) }
- it { should match(/"@fields":{/) }
it { should match(/"custom":"data"/) }
it { should match(/"status":200/) }
it { should match(/"method":"GET"/) }
it { should match(/"path":"\/"/) }
it { should match(/"controller":"welcome"/) }
it { should match(/"action":"index"/) }
-end
\ No newline at end of file
+end