Sha256: 4a02f4824d83503ebf1c6ca9ccb317fa0c1ccc517c38a37c221442da2baf0d7c
Contents?: true
Size: 499 Bytes
Versions: 64
Compression:
Stored size: 499 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper.rb' unless [/mswin/, /java/].detect{|p| p =~ RUBY_PLATFORM} require 'spec/runner/heckle_runner' describe "Heckler" do it "should run examples on tests_pass?" do options = Spec::Runner::Options.new(StringIO.new, StringIO.new) options.should_receive(:run_examples).with().and_return(&options.method(:run_examples)) heckler = Spec::Runner::Heckler.new('Array', 'push', options) heckler.tests_pass? end end end
Version data entries
64 entries across 64 versions & 11 rubygems