Sha256: 57924e374c410d3c665ac4c07a21490c29baca1ee0b95642de1d63b02a4440e1

Contents?: true

Size: 433 Bytes

Versions: 37

Compression:

Stored size: 433 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_a(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

37 entries across 37 versions & 1 rubygems

Version Path
pacer-2.0.24-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.22-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.20-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.19-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.18-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.17-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.16-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.15-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.14-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.13-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.12-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.10-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.10.pre-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.8-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.6-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.4.pre-java spec/pacer/filter/uniq_filter_spec.rb
pacer-2.0.0.pre-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.6.0-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.5.4-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.5.3-java spec/pacer/filter/uniq_filter_spec.rb