Sha256: 051a268609a02605860aadf0b98fa525dd3612d93cde6b6f308cdf118d08a8b2

Contents?: true

Size: 385 Bytes

Versions: 37

Compression:

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

37 entries across 37 versions & 1 rubygems

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