spec/acceptance/realtime/message_spec.rb in ably-1.2.6 vs spec/acceptance/realtime/message_spec.rb in ably-1.2.7
- old
+ new
@@ -171,10 +171,10 @@
publish_and_check_extras data
end
end
context 'JSON Array' do
- let(:data) { { 'push' => { 'data' => { 'key' => [ true, false, 55, nil, 'string', { 'Hash' => true }, ['array'] ] } } } }
+ let(:data) { { 'push' => { 'data' => { 'key' => [ true, false, 55.1, nil, 'string', { 'Hash' => true }, ['array'] ] } } } }
it 'is encoded and decoded to the same Array' do
publish_and_check_extras data
end
end