Created
June 4, 2012 21:36
-
-
Save MattRogish/2870971 to your computer and use it in GitHub Desktop.
broken helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[22, 31] in ./spec/acceptance/products_spec.rb | |
22 end | |
23 | |
24 scenario 'Broken helper #1' do | |
25 require 'ruby-debug'; debugger | |
26 | |
=> 27 products_path | |
28 end | |
29 | |
30 scenario 'Broken helper #2' do | |
31 new_product_path | |
spec/acceptance/products_spec.rb:27 | |
products_path | |
(rdb:1) s | |
*** No sourcefile available for (eval) | |
(eval):2 | |
(rdb:1) | |
*** No sourcefile available for (eval) | |
(eval):4 | |
(rdb:1) | |
*** No sourcefile available for (eval) | |
(eval):4 | |
(rdb:1) | |
[28, 37] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/activesupport-2.3.14/lib/active_support/core_ext/module/attribute_accessors.rb | |
28 EOS | |
29 | |
30 unless options[:instance_reader] == false | |
31 class_eval(<<-EOS, __FILE__, __LINE__ + 1) | |
32 def #{sym} | |
=> 33 @@#{sym} | |
34 end | |
35 EOS | |
36 end | |
37 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/activesupport-2.3.14/lib/active_support/core_ext/module/attribute_accessors.rb:33 | |
@@#{sym} | |
(rdb:1) | |
*** No sourcefile available for (eval) | |
(eval):4 | |
(rdb:1) | |
[-1, 8] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb | |
1 module Spec | |
2 module Matchers | |
3 def method_missing(sym, *args, &block) # :nodoc: | |
=> 4 return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
5 return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
6 super | |
7 end | |
8 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb:4 | |
return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
(rdb:1) | |
[-1, 8] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb | |
1 module Spec | |
2 module Matchers | |
3 def method_missing(sym, *args, &block) # :nodoc: | |
=> 4 return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
5 return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
6 super | |
7 end | |
8 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb:4 | |
return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
(rdb:1) | |
[0, 9] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb | |
1 module Spec | |
2 module Matchers | |
3 def method_missing(sym, *args, &block) # :nodoc: | |
4 return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
=> 5 return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
6 super | |
7 end | |
8 end | |
9 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb:5 | |
return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
(rdb:1) | |
[0, 9] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb | |
1 module Spec | |
2 module Matchers | |
3 def method_missing(sym, *args, &block) # :nodoc: | |
4 return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
=> 5 return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
6 super | |
7 end | |
8 end | |
9 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb:5 | |
return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
(rdb:1) | |
[1, 9] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb | |
1 module Spec | |
2 module Matchers | |
3 def method_missing(sym, *args, &block) # :nodoc: | |
4 return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ | |
5 return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ | |
=> 6 super | |
7 end | |
8 end | |
9 end | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rspec-1.3.2/lib/spec/matchers/method_missing.rb:6 | |
super | |
(rdb:1) | |
*** No sourcefile available for (__FORWARDABLE__) | |
(__FORWARDABLE__):2 | |
(rdb:1) | |
*** No sourcefile available for (__FORWARDABLE__) | |
(__FORWARDABLE__):3 | |
(rdb:1) | |
[41, 50] in /Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rack-test-0.6.1/lib/rack/test/methods.rb | |
41 def build_rack_test_session(name) # :nodoc: | |
42 Rack::Test::Session.new(rack_mock_session(name)) | |
43 end | |
44 | |
45 def current_session # :nodoc: | |
=> 46 rack_test_session(_current_session_names.last) | |
47 end | |
48 | |
49 def with_session(name) # :nodoc: | |
50 _current_session_names.push(name) | |
/Users/mattrogish/.rvm/gems/ree-1.8.7-2012.02@test/gems/rack-test-0.6.1/lib/rack/test/methods.rb:46 | |
rack_test_session(_current_session_names.last) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment