spec/lib/hamster/vector/any_spec.rb in hamster-1.0.1.pre.rc3 vs spec/lib/hamster/vector/any_spec.rb in hamster-2.0.0
- old
+ new
@@ -1,9 +1,9 @@
require "spec_helper"
require "hamster/vector"
describe Hamster::Vector do
- let(:vector) { Hamster.vector(*values) }
+ let(:vector) { V[*values] }
describe "#any?" do
let(:any?) { vector.any?(&block) }
context "when created with no values" do