0
0
Fork 0
rubella/spec/unit/rubella/storage/length_spec.rb

12 lines
193 B
Ruby
Raw Normal View History

2015-05-01 08:10:36 +02:00
require 'spec_helper'
describe Rubella::Storage, '.length' do
it "returns the current length" do
storage = Rubella::Storage.new [3, 4, 5]
expect(storage.length).to eq 3
end
2015-05-01 08:23:14 +02:00
end