Sha256: c3ea957238cb2f86b5b4aa34f3887ee81b751bddec69d275c7dc981a53f2ba5b

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'

describe AnalDiffist::StandardDiffist do
  class FakeParser
    def problems
      []
    end
  end

  it 'should work' do
    @diffist = AnalDiffist::StandardDiffist.new :parsers => [FakeParser]
    @diffist.do_analytics('foo')
    @diffist.do_analytics('bar')
  end

  it 'should work!' do
    @diffist = AnalDiffist::StandardDiffist.new
    @diffist.do_analytics('foo')
    @diffist.do_analytics('bar')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
analdiffist-0.4.0 spec/lib/analdiffist/standard_diffist_spec.rb
analdiffist-0.3.0 spec/lib/analdiffist/standard_diffist_spec.rb
analdiffist-0.2.0 spec/lib/analdiffist/standard_diffist_spec.rb