• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rspec / rspec-mocks
98%
master: 63%

Build:
Build:
LAST BUILD BRANCH: use-method-handle-for-from-support
DEFAULT BRANCH: master
Repo Added 05 Jun 2013 05:46AM UTC
Files 44
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH get_original_method_early
branch: get_original_method_early
CHANGE BRANCH
x
Reset
  • get_original_method_early
  • 2-99-maintenance
  • 3-3-maintenance
  • 384_stubbing_with_prepend
  • add-symbol-vs-string-specs
  • add_spec_for_nullness_not_persisting
  • address_warnings
  • allow_message_api
  • and_wrap_original
  • any_instance-combine-features
  • any_instance_resetting
  • changelog-tidy
  • coveralls_tweaks
  • experimental_travis
  • extend_verifying_doubles_api
  • faster_jruby_builds
  • feature_for_allow
  • features_for_expect_any_instance_of.feature
  • fix-issue-549-for-2-99
  • fix_any_instance_and_call_orignal
  • fix_for_jruby_builds
  • fix_jruby
  • fix_lambda_stub
  • fix_ordering_regression
  • fixup_warnings_and_deprecations
  • get_original_method_early_slightly_optimized
  • handle_receive_do_end_block_chaining
  • improve_travis_build
  • issue-377
  • issue-391
  • issue_393
  • issue_393_revisited
  • master
  • move_caller_filter
  • new-deprecation-api
  • new_syntax
  • ordering_spies
  • prevent_errors_on_stub_removal
  • reapply_243_onto_master
  • receive-chained-messages
  • receive_messages
  • refactor-references
  • refactor_jruby_fix
  • regression-with-264
  • remove_at_least_0_picked
  • remove_hash_subclassing
  • remove_old_spec_mocks_file
  • revisited_bugfix_for_doubles_in_arrays
  • samphippen/compoasable_argument_matchers
  • samphippen/prevent-expectation-modification
  • switch_to_truthy_matchers
  • switch_to_warnings_from_support
  • syntax_agnostic_message_matchers
  • test-against-other-gems
  • update-travis-build-scripts-2014-11-13-for-master
  • update-travis-build-scripts-2014-12-08-for-master
  • use-method-handle-for-from-support
  • use_git_repos_env
  • use_ruby21
  • v2.99.2
  • warn-allow-klass-any-instance
  • warn_when_overriding_implementation

pending completion
1036

push

travis-ci

myronmarston
Fix for ruby 2.0.

For some reason on Ruby 2.0, we were getting this error:

  TypeError:
       compared with non class/module
     # ./lib/rspec/mocks/instance_method_stasher.rb:73:in `define_method'
     # ./lib/rspec/mocks/instance_method_stasher.rb:73:in `restore'
     # ./lib/rspec/mocks/method_double.rb:74:in `restore_original_method'
     # ./lib/rspec/mocks/method_double.rb:94:in `reset'
     # ./lib/rspec/mocks/proxy.rb:123:in `block in reset'
     # ./lib/rspec/mocks/proxy.rb:123:in `each'
     # ./lib/rspec/mocks/proxy.rb:123:in `reset'
     # ./lib/rspec/mocks/proxy.rb:118:in `verify'
     # ./lib/rspec/mocks/space.rb:14:in `block in verify_all'
     # ./lib/rspec/mocks/space.rb:13:in `each_value'
     # ./lib/rspec/mocks/space.rb:13:in `verify_all'
     # ./lib/rspec/mocks.rb:18:in `verify'

1816 of 1854 relevant lines covered (97.95%)

348.42 hits per line

Relevant lines Covered
Build:
Build:
1854 RELEVANT LINES 1816 COVERED LINES
348.42 HITS PER LINE
Source Files on get_original_method_early
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1036 get_original_method_early Fix for ruby 2.0. For some reason on Ruby 2.0, we were getting this error: TypeError: compared with non class/module # ./lib/rspec/mocks/instance_method_stasher.rb:73:in `define_method' # ./lib/rspec/mocks/instance_method_stas... push 15 Aug 2013 05:01PM UTC myronmarston travis-ci pending completion  
1033 get_original_method_early Refactor to improve perf. - Don't get the original method handle for a test double (it doesn't have an original method as its not a partial mock). - Leverage InstanceMethodStasher; since it has to stash the method anyway, it can store it so w... push 15 Aug 2013 07:08AM UTC myronmarston travis-ci pending completion  
831 get_original_method_early remove extra benchmark blocks and post results for rubies 1.8.7, 1.9.3, and 2.0.0 push 05 Jul 2013 11:32AM UTC dchelimsky travis-ci pending completion  
830 get_original_method_early reset mock space in benchmark push 05 Jul 2013 11:24AM UTC dchelimsky travis-ci pending completion  
828 get_original_method_early Refactor to improve perf. Rather than always getting the method handle when a method is mocked or stubbed, only get the method handle for a partial mock object. There's something wonky with the benchmarks I don't understand yet, so it's hard to ... push 05 Jul 2013 06:59AM UTC myronmarston travis-ci pending completion  
805 get_original_method_early modified bench marks push 04 Jul 2013 02:10PM UTC JonRowe travis-ci pending completion  
796 get_original_method_early Add a benchmark for finding the original method early. push 02 Jul 2013 05:37PM UTC myronmarston travis-ci pending completion  
744 get_original_method_early remove 187 special casing push 25 Jun 2013 10:07AM UTC JonRowe travis-ci pending completion  
743 get_original_method_early use (more) public api to fetch recorder push 25 Jun 2013 09:57AM UTC JonRowe travis-ci pending completion  
See All Builds (576)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc