spec/rflow/message/data/raw_spec.rb in rflow-1.0.1 vs spec/rflow/message/data/raw_spec.rb in rflow-1.1.0
- old
+ new
@@ -5,14 +5,14 @@
class Message
class Data
describe 'Raw Avro Schema' do
let(:schema) { Configuration.available_data_types['RFlow::Message::Data::Raw']['avro'] }
- it "should load the schema" do
+ it 'should load the schema' do
expect(schema).not_to be_nil
end
- it "should encode and decode an object" do
+ it 'should encode and decode an object' do
raw = {'raw' => Array.new(256) { rand(256) }.pack('c*')}
expect { encode_avro(schema, raw) }.to_not raise_error
encoded = encode_avro(schema, raw)