Sha256: fde7a9b6e757d7c32ad2c2a653e71b67c8e760654a010ad9fb903742d3f3b087
Contents?: true
Size: 463 Bytes
Versions: 7
Compression:
Stored size: 463 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 behaviour_runner on tests_pass?" do behaviour_runner = mock("behaviour_runner") behaviour_runner.should_receive(:run).with([], false) heckler = Spec::Runner::Heckler.new('Array', 'push', behaviour_runner) heckler.tests_pass? end end end
Version data entries
7 entries across 7 versions & 2 rubygems