spec/hamster/queue/head_spec.rb in hamster-1.0.1.pre.rc.1 vs spec/hamster/queue/head_spec.rb in hamster-1.0.1.pre.rc2

- old
+ new

@@ -1,35 +1,25 @@ require "spec_helper" - require "hamster/queue" describe Hamster::Queue do - [:head, :first, :peek, :front].each do |method| - describe "##{method}" do - [ [[], nil], [["A"], "A"], [%w[A B C], "A"], ].each do |values, expected| describe "on #{values.inspect}" do - before do @queue = Hamster.queue(*values) end it "returns #{expected.inspect}" do @queue.send(method).should == expected end - end - end - end - end - -end +end \ No newline at end of file