[rspec-users] Scope problems for before hooks using helper methods?

David Chelimsky dchelimsky at gmail.com
Fri Oct 14 08:50:05 EDT 2011

On Oct 13, 2011, at 8:35 PM, Gordon wrote:

> Hi, there,
>  I believe I have some problem with scoping.


> Here is the error message:
> --------- Extract start -----------------
> /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/
> active_support/dependencies.rb:235:in `load': /Users/anexiole/projects/
> try_rails/spec/controllers/brands_controller_spec.rb:164: syntax
> error, unexpected keyword_end, expecting $end (SyntaxError)

This is a syntax error. Please fix that first, and then we can talk about scoping :)


More information about the rspec-users mailing list