spec/support/selector_spec.rb in svm_helper-0.1.1 vs spec/support/selector_spec.rb in svm_helper-0.2.1
- old
+ new
@@ -11,11 +11,9 @@
vector = selector.generate_vector(data)
vector.data.each do |e|
[0,1].should include(e)
end
end
- it "should be able to process multiple data entries at once" do
- selector.generate_vectors([data]).each do |e|
- e.should == selector.generate_vector(data)
- end
+ it "should respond to generate_vectors" do
+ selector.should respond_to(:generate_vectors)
end
end