spec/lib/bit_fields_spec.rb in elia-1.1.0 vs spec/lib/bit_fields_spec.rb in elia-1.2.0

- old
+ new

@@ -27,9 +27,11 @@ it 'should create methods in a class' do @object.char_value.should == 23 @object.secondary_header_flag.should == 0b1 @object.sync_flag.should == 0b0 + @object.packet_order.should == 0b1 + @object.segment_length_id.should == 0b00 @object.first_header_pointer.should == 0b111_11111111 end it 'should act as a Hash' do @object.attributes[:char_value].should == 23