# Ripulire output errori RSpec

**URL:** <https://www.ruby-forum.com/t/ripulire-output-errori-rspec/187114>\
**Category:** IT\
**Created:** [April 17, 2010, 10:31am UTC](https://www.ruby-forum.com/t/ripulire-output-errori-rspec/187114 "2010-04-17T10:31:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@beo](https://www.ruby-forum.com/u/beo)\
**Post date:** [April 17, 2010, 10:31am UTC](https://www.ruby-forum.com/t/ripulire-output-errori-rspec/187114/1 "2010-04-17T10:31:34Z")

</div>

Sto provando in questi giorni ad utilizzare Cucumber e Rspec per seguire  
un tutorial di un’applicazione Rails ([bddcasts.com](http://bddcasts.com))  
Dopo aver sbattuto un pÃ² con autospec e le notifiche growl, mi rimane un  
punto oscuro che non riesco a risolvere.  
quando un test di RSpec fallisce mi ritrovo un output cosÃ¬:  
1)  
ActionController::UnknownAction in ‘BrandsController handling GET new  
should build an empty brand and assign it for the view’  
No action responded to new. Actions: index  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/filters.rb:617:in  
`call_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform\_action\_without\_benchmark’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/benchmarking.rb:68:in  
`perform_action_without_rescue' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms’  
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active\_support/core\_ext/benchmark.rb:17:in  
`ms' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform\_action\_without\_rescue’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/rescue.rb:160:in  
`perform_action_without_flash' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform\_action’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/base.rb:532:in  
`send' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process\_without\_filters’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/filters.rb:606:in  
`sass_old_process' /Library/Ruby/Gems/1.8/gems/haml-2.2.23/rails/../lib/sass/plugin/rails.rb:20:in `process’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/test\_process.rb:567:in  
`process_with_test' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller/test_process.rb:447:in `process’  
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action\_controller/test\_process.rb:398:in  
`get' /Users/robertoalicata/development/brandizzle/spec/controllers/brands_controller_spec.rb:33:in `do\_get’  
/Users/robertoalicata/development/brandizzle/spec/controllers/brands\_controller\_spec.rb:38:

Finished in 0.049325 seconds

4 examples, 1 failure, 1 pending

* * *

nel tutorial (video) invece vedo che tutte le linee che iniziano per  
“/Library/Ruby/Gems/1.8/gems” non ci sono.  
E’ un problema di rubygem? c’Ã¨ da settare qualcosa?  
la mia configurazione attuale Ã¨:  
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]  
Rails 2.3.5  
\*\*\* LOCAL GEMS \*\*\*

actionmailer (2.3.5, 2.2.2, 1.3.6)  
actionpack (2.3.5, 2.2.2, 1.13.6)  
actionwebservice (1.2.6)  
activerecord (2.3.5, 2.2.2, 1.15.6)  
activeresource (2.3.5, 2.2.2)  
activesupport (2.3.5, 2.2.2, 1.4.4)  
acts\_as\_ferret (0.4.4, 0.4.3)  
autotest (4.2.9)  
autotest-growl (0.2.3)  
autotest-notification (2.2.1)  
autotest-rails (4.1.0)  
builder (2.1.2)  
capistrano (2.5.18, 2.5.2)  
cgi\_multipart\_eof\_fix (2.5.0)  
compass (0.8.17)  
cucumber (0.6.4)  
cucumber-rails (0.3.0)  
daemons (1.0.10)  
database\_cleaner (0.5.2, 0.5.1)  
diff-lcs (1.1.2)  
dnssd (1.3.1, 0.6.0)  
factory\_girl (1.2.4)  
fastthread (1.0.7, 1.0.1)  
fcgi (0.8.8, 0.8.7)  
ferret (0.11.6)  
gem\_plugin (0.2.3)  
haml (2.2.23, 2.2.22)  
highline (1.5.2, 1.5.0)  
hpricot (0.8.2, 0.6.164)  
json\_pure (1.2.4, 1.2.3)  
libxml-ruby (1.1.3, 1.1.2)  
mongrel (1.1.5)  
needle (1.3.0)  
net-scp (1.0.2, 1.0.1)  
net-sftp (2.0.4, 2.0.1, 1.1.1)  
net-ssh (2.0.21, 2.0.4, 1.1.4)  
net-ssh-gateway (1.0.1, 1.0.0)  
nokogiri (1.4.1)  
polyglot (0.3.1)  
prawn (0.8.4)  
prawn-core (0.8.4)  
prawn-layout (0.8.4)  
prawn-security (0.8.4)  
rack (1.1.0, 1.0.1)  
rack-test (0.5.3)  
rails (2.3.5, 2.2.2, 1.2.6)  
rake (0.8.7, 0.8.3)  
rcov (0.9.8)  
RedCloth (4.2.3, 4.1.1)  
redgreen (1.2.2)  
rspec (1.3.0)  
rspec-rails (1.3.2)  
ruby-openid (2.1.7, 2.1.2)  
ruby-yadis (0.3.4)  
rubygems-update (1.3.6)  
rubynode (0.1.5)  
sqlite3-ruby (1.2.5, 1.2.4)  
term-ansicolor (1.0.5)  
termios (0.9.4)  
treetop (1.4.5)  
webrat (0.7.0)  
xmpp4r (0.5, 0.4)  
ZenTest (4.3.1)

Grazie in anticipo alle anime pie che mi aiuteranno 😃

---

<div class="post-metadata">

**Author:** ![beo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@beo](https://www.ruby-forum.com/u/beo)\
**Post date:** [April 17, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/ripulire-output-errori-rspec/187114/2 "2010-04-17T18:16:56Z")

</div>

Roberto Alicata wrote:

Ciao , non ho idea di come aiutarti , pero’ sto cominciando anche io a  
guardare Cucumber seguendo il tutorial di questo video

[https://peepcode.com/products/cucumber](https://peepcode.com/products/cucumber)

appena capisco come funziona ti aiuto …  
intanto guardo anche il tuo di link

---

<div class="post-metadata">

**Author:** ![beo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@beo](https://www.ruby-forum.com/u/beo)\
**Post date:** [April 17, 2010, 10:53pm UTC](https://www.ruby-forum.com/t/ripulire-output-errori-rspec/187114/3 "2010-04-17T22:53:16Z")

</div>

Simone R. wrote:

> Roberto Alicata wrote:
> 
> Ciao , non ho idea di come aiutarti , pero’ sto cominciando anche io a  
> guardare Cucumber seguendo il tutorial di questo video
> 
> [https://peepcode.com/products/cucumber](https://peepcode.com/products/cucumber)
> 
> appena capisco come funziona ti aiuto …  
> intanto guardo anche il tuo di link

il tutorial di Peepcode Ã¨ molto ben fatto, ma usa un approccio diverso  
per l’autotest utilizzando un file che l’autore mette a disposizione  
(rstakeout.rb). Quando ho utilizzato quel file non mi pare ci fossero  
tutti queste linee in piÃ¹ nell’output, ma l’avevo provato su Leopard con  
un’altra configurazione rispetto alla mia attuale.

grazie lo stesso 😃
