Sha256: 35bc13c850fbfa580154e190065ad754e59b283e612bd5c15d4436551beef779

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

# -*- coding: utf-8 -*-
# vim:ft=ruby:enc=utf-8

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

class TestIntegration < Test::Unit::TestCase
  def test_module_integration
    assert_nothing_raised do
      str = "test"
      str.instance_eval "class << self; include ToPass::Integration; end"

      assert_equal 't35t', str.to_pass
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
to_pass-0.6.0 test/test_integration.rb
to_pass-0.5.2 test/test_integration.rb
to_pass-0.5.0 test/test_integration.rb
to_pass-0.4.0 test/test_integration.rb
to_pass-0.2.4 test/test_integration.rb