Nathan Biles wrote in post #1120671:
> 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!
hello Nathan,
it is clearly showing the syntax error along with line where this error
is occurring , check the syntax, & may you have somewhere missing '<' or
it is unnecessary present.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users