spec/string_spec.rb in bindata-1.1.0 vs spec/string_spec.rb in bindata-1.2.0
- old
+ new
@@ -121,10 +121,9 @@
it "should forget :initial_value after reading" do
@str.read("ABCDEFGHIJKLMNOPQRST")
@str.num_bytes.should == 5
@str.value.should == "ABCDE"
end
-
end
describe BinData::String, "with :read_length and :value" do
before(:each) do
@str = BinData::String.new(:read_length => 5, :value => "abcdefghij")