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-1.5.2-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.5.1-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.4.2-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.4.1-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.4.0-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.3.5-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.3.4-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.3.3-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.3.2-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.3.1-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.2.0-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.1.1-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.1.0-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.0.3-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.0.2-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.0.1-java spec/pacer/filter/uniq_filter_spec.rb
pacer-1.0.0-java spec/pacer/filter/uniq_filter_spec.rb