torquebox / torquespec

Integration testing with TorqueBox
Apache License 2.0
17 stars 10 forks source link

Fix TorqueSpec working with RSpec 2.13 #7

Closed slippycheeze closed 10 years ago

slippycheeze commented 11 years ago

This should fix #6, implementing the additional features ^W hacks that get newer RSpec versions working correctly with TorqueSpec. Using these two changes I can successfully run my specs in-container using rspec-core 2.13.0.

swistaczek commented 11 years ago

@daniel-pittman after using Your branch I have issued simillar error:

NoMethodError: undefined method `pending_fixed?' for #<Exception:0x66b9cbe1>
   pending_fixed? at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/formatters/base_text_formatter.rb:165
    dump_failures at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/formatters/base_text_formatter.rb:19
             each at org/jruby/RubyArray.java:1617
  each_with_index at org/jruby/RubyEnumerable.java:920
    dump_failures at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/formatters/base_text_formatter.rb:17
         __send__ at org/jruby/RubyBasicObject.java:1703
             send at org/jruby/RubyKernel.java:2209
           notify at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:98
             each at org/jruby/RubyArray.java:1617
           notify at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:97
           finish at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:81
           report at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb:36
              run at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:25
   run_in_process at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80
              run at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69
          autorun at /Users/ernest.bursa/.rvm/gems/jruby-1.7.4@beardedhipster/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10
jcrossley3 commented 10 years ago

Thanks!