Sha256: cde9e34c1a312913432b9b0ac1cfa427578c62c6058559d4e64612e642f455b7
Contents?: true
Size: 732 Bytes
Versions: 6
Compression:
Stored size: 732 Bytes
Contents
require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'test/unit' require 'flexmock' require 'flexmock/test_unit' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'bychar' # http://redmine.ruby-lang.org/issues/4882 # https://github.com/jimweirich/flexmock/issues/4 # https://github.com/julik/flexmock/commit/4acea00677e7b558bd564ec7c7630f0b27d368ca class FlexMock::PartialMockProxy def singleton?(method_name) @obj.singleton_methods.include?(method_name.to_s) end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
bychar-3.0.0 | test/helper.rb |
bychar-2.0.0 | test/helper.rb |
bychar-1.2.1 | test/helper.rb |
bychar-1.1.0 | test/helper.rb |
bychar-1.0.1 | test/helper.rb |
bychar-1.0.0 | test/helper.rb |