Sha256: 0a75ebd2781a23ec5de0e54b067f6e08df73208757efa6397fc248d7fc84ee3d

Contents?: true

Size: 361 Bytes

Versions: 9

Compression:

Stored size: 361 Bytes

Contents

require 'minitest/autorun'
require 'minitest/pride'
require 'did_you_mean'

puts "DidYouMean version: #{DidYouMean::VERSION}"

module DidYouMean::TestHelper
  def assert_correction(expected, array)
    assert_equal Array(expected), array, "Expected #{array.inspect} to only include #{expected.inspect}"
  end
end

MiniTest::Test.include(DidYouMean::TestHelper)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
did_you_mean-1.3.1 test/test_helper.rb
did_you_mean-1.2.2 test/test_helper.rb
did_you_mean-1.1.3 test/test_helper.rb
did_you_mean-1.3.0 test/test_helper.rb
did_you_mean-1.2.1 test/test_helper.rb
did_you_mean-1.2.0 test/test_helper.rb
did_you_mean-1.1.2 test/test_helper.rb
ruby-compiler-0.1.1 vendor/ruby/gems/did_you_mean-1.1.0/test/test_helper.rb
did_you_mean-1.1.0 test/test_helper.rb