Sha256: 8f22d3366a9b8dcc8f5efa15e6a400d3931ac03f40edf63a7f899e30d859e4a6

Contents?: true

Size: 397 Bytes

Versions: 37

Compression:

Stored size: 397 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

37 entries across 37 versions & 1 rubygems

Version Path
sinatra_resource-0.4.21 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.20 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.19 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.18 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.17 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.16 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.15 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.14 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.13 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.12 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.11 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.10 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.9 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.8 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.7 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.6 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.5 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.4 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.3 examples/datacatalog/test/helpers/assertions/assert_not_include.rb
sinatra_resource-0.4.2 examples/datacatalog/test/helpers/assertions/assert_not_include.rb