Sha256: 11ef903725653a8d4c4150f827d79c3c9bff3868d187fe18e8925bdb3bb281c0

Contents?: true

Size: 304 Bytes

Versions: 8

Compression:

Stored size: 304 Bytes

Contents

require 'minitest/autorun'
require 'minitest/unit'
require 'did_you_mean'

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
did_you_mean-1.0.4 test/test_helper.rb
did_you_mean-1.0.3 test/test_helper.rb
did_you_mean-1.0.2 test/test_helper.rb
did_you_mean-1.0.1 test/test_helper.rb
did_you_mean-1.0.0 test/test_helper.rb
did_you_mean-1.0.0.rc1 test/test_helper.rb
did_you_mean-1.0.0.beta3 test/test_helper.rb
did_you_mean-1.0.0.beta2 test/test_helper.rb