Sha256: bed551bde2aafb29e699f3b019d6783d98380e2d2716951fe2394d0d3b85f0ca

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

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

    def assert_nothing_raised
      yield
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
did_you_mean-0.9.0 lib/did_you_mean/test_helper.rb