Sha256: 4a7e9bb50f1450c1d15b42e9db56fd8558af0db27e91d4e53fa32c0e070ea9b0

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 Bytes

Contents

module Test
  module Unit
    module Assertions

      def assert_include(expected, actual, message = nil)
        _wrap_assertion do
          full_message = build_message(message,
            "<?> expected to include\n<?>.\n", actual, expected)
          assert_block(full_message) do
            actual.include?(expected)
          end
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra_resource-0.4.24 examples/datacatalog/test/helpers/assertions/assert_include.rb
sinatra_resource-0.4.23 examples/datacatalog/test/helpers/assertions/assert_include.rb
sinatra_resource-0.4.22 examples/datacatalog/test/helpers/assertions/assert_include.rb