[rspec-users] Undefined method "full_description" when trying to run "rake spec"

Maurício Linhares mauricio.linhares at gmail.com
Mon Dec 1 09:39:33 EST 2008


Hello guys,

I'm getting this weird error when trying to run the specs using "rake spec":

/home/mauricio/NetBeansProjects/talkies/vendor/rails/actionpack/lib/action_controller/test_process.rb:471:in
`method_missing': undefined method `full_description' for
#<Spec::Rails::Example::ControllerExampleGroup::Subclass_73::Subclass_9:0x7f5fdca4a810>
(NoMethodError)
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/matchers.rb:155:in
`method_missing'
	from /home/mauricio/NetBeansProjects/talkies/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb:25:in
`example_pending'
	from /home/mauricio/NetBeansProjects/talkies/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb:18:in
`example_pending'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/reporter.rb:125:in
`example_pending'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/reporter.rb:120:in
`each'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/reporter.rb:120:in
`example_pending'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/reporter.rb:29:in
`example_finished'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/example_methods.rb:26:in
`execute'
	 ... 6 levels...
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb:21:in
`run'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:115:in
`run_examples'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/command_line.rb:10:in
`run'
	from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/bin/spec:4
rake aborted!

Any ideas about what this might be?

Rspec gems are 1.1.11 and we also have the same gems installed in the
app as plugins. My machine is a "Linux linux-fof0
2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64
x86_64 GNU/Linux
"

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)


More information about the rspec-users mailing list