[rspec-users] Can't delete app/helpers

Chris Olsen lists at ruby-forum.com
Thu Nov 1 19:39:57 EDT 2007


> A stacktrace would help

  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S 
script/spec -O spec/spec.opts  spec/views/addresses/show.rhtml_spec.rb 
spec/helpers/addresses_helper_spec.rb 
spec/views/addresses/index.rhtml_spec.rb 
spec/views/addresses/edit.rhtml_spec.rb 
spec/views/addresses/new.rhtml_spec.rb
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:249:in 
`load_missing_constant': Expected 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/config/../app/helpers/addresses_helper.rb 
to define AddressesHelper (LoadError)
  from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in 
`const_missing'
  from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in 
`const_missing'
  from ./spec/views/addresses/show.rhtml_spec.rb:4
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/dsl/behaviour.rb:54:in 
`class_eval'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/dsl/behaviour.rb:54:in 
`eval_behaviour'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/dsl/behaviour.rb:31:in 
`initialize'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/dsl/behaviour_factory.rb:36:in 
`new'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/dsl/behaviour_factory.rb:36:in 
`create'
   ... 21 levels...
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:155:in 
`parse'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in 
`create_behaviour_runner'
  from 
/Users/chris/Documents/Projects/Rails/MyProject/trunk/vendor/plugins/rspec/lib/spec/runner/command_line.rb:14:in 
`run'
  from script/spec:4

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list