Here is the backtrace , I'm using :type => :helper since my formbuilder is in the li directory
Thanks
----- output ----
StandardFormBuilder
standard fields
should build input fields (FAILED - 1)
Failures:
1) StandardFormBuilder standard fields should build input fields
Failure/Error: Unable to find matching line from backtrace
TypeError:
wrong argument type Class (expected Module)
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `include'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `block in add_template_helper'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `module_eval'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `add_template_helper'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:98:in `block in helper'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:97:in `each'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:97:in `helper'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/action_view/test_case.rb:85:in `include_helper_modules!'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/action_view/test_case.rb:78:in `new'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:359:in `run'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `block in run'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'
# /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun'
Finished in 0.00117 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/lib/standard_form_builder_spec.rb:36 # StandardFormBuilder standard fields should build input fields
/Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `include': wrong argument type Class (expected Module) (TypeError)
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `block in add_template_helper'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `module_eval'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:123:in `add_template_helper'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:98:in `block in helper'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:97:in `each'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/abstract_controller/helpers.rb:97:in `helper'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/action_view/test_case.rb:85:in `include_helper_modules!'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.0.13/lib/action_view/test_case.rb:78:in `new'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:366:in `run'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `map'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in `block in run'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in `report'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'
from /Users/macarthy/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun'