spec/skip_spec.rb in bindata-1.4.3 vs spec/skip_spec.rb in bindata-1.4.4
- old
+ new
@@ -8,20 +8,20 @@
let(:io) { StringIO.new("abcdefghij") }
it { should == "" }
its(:to_binary_s) { should == "\000" * 5 }
- it "should skip bytes" do
+ it "skips bytes" do
subject.read(io)
io.pos.should == 5
end
- it "should have expected binary representation after setting value" do
+ it "has expected binary representation after setting value" do
subject.assign("123")
subject.to_binary_s.should == "\000" * 5
end
- it "should have expected binary representation after reading" do
+ it "has expected binary representation after reading" do
subject.read(io)
subject.to_binary_s.should == "\000" * 5
end
end