spec/support/selector_spec.rb in svm_helper-0.1.0 vs spec/support/selector_spec.rb in svm_helper-0.1.1
- old
+ new
@@ -1,8 +1,8 @@
require "spec_helper"
shared_examples_for 'a selector' do
- let(:selector) { described_class.new }
+ let(:selector) { described_class.new(:function) }
let(:data) { FactoryGirl.build(:data) }
it "should return a FeatureVector object" do
selector.generate_vector(data).should be_a(FeatureVector)
end