spec/lib/aggro/event_serializer_spec.rb in aggro-0.0.3 vs spec/lib/aggro/event_serializer_spec.rb in aggro-0.0.4

- old
+ new

@@ -3,10 +3,10 @@ let(:event) { Event.new :tested_system, Time.new(2015), data } describe '.serialize' do it 'should convert a hash to some serialized form' do serialized = EventSerializer.serialize event - expect(serialized).to be_a String + expect(serialized).to be_a Array end end describe '.deserialize' do it 'should convert serialized data back to the original form' do