spec/struct_spec.rb in bindata-0.9.2 vs spec/struct_spec.rb in bindata-0.9.3

- old
+ new

@@ -84,12 +84,12 @@ @obj.num_bytes(:b).should == 1 @obj.num_bytes.should == 2 end it "should identify accepted parameters" do - BinData::Struct.accepted_parameters.should include(:fields) - BinData::Struct.accepted_parameters.should include(:hide) - BinData::Struct.accepted_parameters.should include(:endian) + BinData::Struct.internal_parameters.should include(:fields) + BinData::Struct.internal_parameters.should include(:hide) + BinData::Struct.internal_parameters.should include(:endian) end it "should return field names" do @obj.field_names.should == ["a", "b"] end