Ruby on Rails Monday, December 29, 2014

On 29 December 2014 at 14:49, Etienne Brunet <etiennebrunet@gmail.com> wrote:
> Ok thank you. I found the error, It is weird because all test where failing
> for 1 syntaxt error...

A syntax error is detected when the code is loaded and the whole app
is loaded for any test.

Colin

>
>
> On Sunday, December 28, 2014 5:09:12 PM UTC-5, Etienne Brunet wrote:
>>
>> Hi,
>>
>> I'm following the https://www.railstutorial.org
>>
>> I'm now at chapter 10. Since yesterday all my 42 tests are RED and reports
>> the same error :
>>
>>
>> ERROR["test_should_get_new", UsersControllerTest, 0.274138782]
>> test_should_get_new#UsersControllerTest (0.27s)
>> SyntaxError: SyntaxError: (erb):36: syntax error, unexpected
>> tLABEL
>> activated: true
>> ^
>> (erb):37: syntax error, unexpected ':', expecting ')'
>> activated_at: <%= Time.zone.now ).to_s); _erbout.concat "\n"
>> ^
>> (erb):37: unterminated string meets end of file
>>
>>
>>
>> The app is working great.
>>
>> I'm on cloud9.
>>
>> I have restarted the server etc... same errors. Everything was working
>> great since yesterday.
>>
>> Thx
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/17fe74d8-448c-4092-ba47-57d0d2cc3c65%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsRjw-aphO9XJiGPktG4av5m6n6%2BumGmo8pVrOgfYD5PQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment