Sha256: c2e04c530048b46c0d3e26c250cb78e0236e2452360be1e8bae67b7828efd946

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

require_relative "../test_helper"
require "stig"

test "doesn't pollute the global namespace" do
  [Date, Float, Integer, String, Symbol, Time].each do |klass|
    assert_equal klass.respond_to?(:random), false

    # We just want this not to blow up.
    Stig.property(klass) { true }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stig-0.1.0 test/stig/refinements.rb