Sha256: df59c856e5ac1fb63d13d46cda95c4704fe7ac91f14487972613560a1e9a5d38

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 Bytes

Contents

require 'whitespace'
require 'param_test'
require 'test/unit'

class MultipleParamsTest < ActiveSupport::TestCase
  param_test "%s includes whitespace is %s", [
    ["hello world", true],
    ["foo bar", true],
    ["foo", false],
  ] do |input, expected|
    assert_equal expected, includes_whitespace?(input)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
param_test-0.2.0 test/blog/multiple_params_test.rb
param_test-0.2.0.rc1 test/blog/multiple_params_test.rb
param_test-0.1.1 test/blog/multiple_params_test.rb
param_test-0.1.0 test/blog/multiple_params_test.rb
param_test-0.1.0.rc1 test/blog/multiple_params_test.rb