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

Version Path
has_finder-0.1.1 spec/rails/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
rspec-1.0.5 spec/spec/runner/heckler_spec.rb
rspec-1.0.7 spec/spec/runner/heckler_spec.rb
rspec-1.0.6 spec/spec/runner/heckler_spec.rb
rspec-1.0.8 spec/spec/runner/heckler_spec.rb