[rspec-users] Template Scaffold syntax error

Nathan Biles lists at ruby-forum.com
Wed Sep 4 16:00:06 UTC 2013


I inherited a project from another developer.

I ran rspec . and I and getting the following error and I need help
figuring it out asap.

~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in
`load':
{application-path}/lib/templates/rspec/scaffold/controller_spec.rb:21:
syntax error, unexpected '<', expecting end-of-input (SyntaxError)
<% module_namespacing do -%>
 ^
  from
~/rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in
`block in load_spec_files'
  from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in
`each'
  from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in
`load_spec_files'
  from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22:in
`run'
  from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in
`run'
  from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in
`block in autorun'


Thank you for your help!

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


More information about the rspec-users mailing list