Sha256: 7966cf76dfe7f43b49c7dcaca9da0452b3e548642672da514c0a96d42a032f6e

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

module Test
  module Unit
    module Assertions

      def assert_not_include(expected, actual, message = nil)
        _wrap_assertion do
          full_message = build_message(message,
            "<?> expected to not include\n<?>.\n", actual, expected)
          assert_block(full_message) do
            not 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_not_include.rb
sinatra_resource-0.4.23 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.22 examples/datacatalog/test/helpers/assertions/assert_not_include.rb