Sha256: 549f6c25737f92806b6ac271d08ebbf670076a0b392dc81508fe3260589adcef
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' Run.tg(:read_only) do use_pacer_graphml_data(:read_only) describe 'UniqFilter' do describe '#uniq' do it 'should be a route' do graph.v.uniq.should be_an_instance_of(Pacer::Route) end it 'results should be unique' do graph.e.in_v.group_count(:name).values.sort.last.should > 1 graph.e.in_v.uniq.group_count(:name).values.sort.last.should == 1 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pacer-0.9.1.1-java | spec/pacer/filter/uniq_filter_spec.rb |