Sha256: c9a08da9d6330362aa2ad96d19d7290dd137f15b392fde38bbc1ef68a32ca532

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

class MatchyTest < Test::Unit::TestCase
  it "should alias should to .to" do
    assert_equal Object.method(:should), Object.method(:to)
  end

  it "should alias should_not to .not_to" do
    assert_equal Object.method(:should_not), Object.method(:not_to)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
giraffesoft-zebra-0.0.1 test/matchy_test.rb