[rspec-users] Upgrade problems/questions regarding RSpec 1.3.0 to 2.0.1

Jarmo Pertman jarmo.p at gmail.com
Thu Nov 4 17:28:12 EDT 2010


On Nov 4, 9:52 pm, Jarmo Pertman <jarm... at gmail.com> wrote:
> I cannot reproduce this problem currently with standard html formatter
> although i don't do anything with snippet extractor in my custom html
> formatter. I need to investigate why the problem happens now and then.

I've managed to reproduce it again and always like this:

# some_spec.rb
describe "something" do
  it "doesn't work" do
    true.should be_false
  end
end

C:\Users\jarmo\Desktop\minu\projects\Ruby\blah2>rspec some_spec.rb -f
html -o out.html

And this is the output:
http://dl.dropbox.com/u/2731643/misc/out.html

with -b the whole stacktrace is as following:
c:/ruby/lib/ruby/gems/1.8/gems/rspec-expectations-2.0.1/lib/rspec/
expectations/fail_with.rb:29:in `fail_with'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-expectations-2.0.1/lib/rspec/
expectations/handler.rb:21:in `handle_matcher'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-expectations-2.0.1/lib/rspec/
expectations/extensions/kernel.rb:27:in `should'
./some_spec.rb:3
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:47:in `instance_eval'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:47:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:86:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:86:in `with_around_hooks'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:44:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:80:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:80:in `with_pending_capture'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:79:in `catch'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:79:in `with_pending_capture'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example.rb:43:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example_group.rb:260:in `run_examples'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example_group.rb:256:in `map'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example_group.rb:256:in `run_examples'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
example_group.rb:230:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
command_line.rb:26:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
command_line.rb:26:in `map'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
command_line.rb:26:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
reporter.rb:11:in `report'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
command_line.rb:23:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
runner.rb:55:in `run_in_process'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
runner.rb:46:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/lib/rspec/core/
runner.rb:10:in `autorun'
c:/Ruby/bin/rspec:19


Jarmo Pertman
-----
IT does really matter - http://www.itreallymatters.net


More information about the rspec-users mailing list