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

Version Path
dchelimsky-rspec-1.1.10 spec/spec/runner/heckler_spec.rb
dchelimsky-rspec-1.1.11.1 spec/spec/runner/heckler_spec.rb
dchelimsky-rspec-1.1.11.2 spec/spec/runner/heckler_spec.rb
dchelimsky-rspec-1.1.11.3 spec/spec/runner/heckler_spec.rb
dchelimsky-rspec-1.1.11.4 spec/spec/runner/heckler_spec.rb
dchelimsky-rspec-1.1.11 spec/spec/runner/heckler_spec.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
deckshuffler-0.0.2 vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
mack-0.8.2 lib/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb
picolena-0.1.1 rails_plugins/rspec/spec/spec/runner/heckler_spec.rb