[Rails] why is my rspec controller test for get method not working?
Hello Everyone,
Why is my controller test in the get method not working?
https://github.com/haloflightleader/bank/blob/02695c7c5106b30e178d3a0d05125f8deedd5e67/spec/controllers/accounts_controller_spec.rb#L18
This is practically a copy from the rails guides and it works in my index test. The render test works... it's only the assigns portion that refuses to work.
I'm studying Rails, but am focusing on rspec because Rails by itself is easy and I feel that I don't want to write anything without rspec being right next to it, even if I have to write the tests after. I have gone through several tutorials already:
Michael Hartl's, Pragmatic Studio, and Code School.
So now, I just need to do it and gain proficiency. Thank you.
p
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/54f7c3f5-28b8-48ee-aea0-1f885edafcd5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home