Sha256: a4793aa5d690995887770bf10961dcad56ffdcce6128dd8ddc4a6ad34d806122

Contents?: true

Size: 201 Bytes

Versions: 11

Compression:

Stored size: 201 Bytes

Contents

module DidYouMean
  module TestHelper
    def assert_suggestion(array, expected)
      assert_equal [expected], array, "Expected #{array.inspect} to only include #{expected.inspect}"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
did_you_mean-0.9.10-java lib/did_you_mean/test_helper.rb
did_you_mean-0.9.10 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.9-java lib/did_you_mean/test_helper.rb
did_you_mean-0.9.9 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.8 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.7 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.6-java lib/did_you_mean/test_helper.rb
did_you_mean-0.9.6 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.5 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.4 lib/did_you_mean/test_helper.rb
did_you_mean-0.9.2 lib/did_you_mean/test_helper.rb