I have this code
response.should render_template(:my_messages)
It returns true also if :messages template rendered. I am confused, is
this a bug or expected behavior?
Alex
I have this code
response.should render_template(:my_messages)
It returns true also if :messages template rendered. I am confused, is
this a bug or expected behavior?
Alex
On Thu, Oct 30, 2008 at 12:37 AM, Alex R. [email protected]
wrote:
I have this code
response.should render_template(:my_messages)
It returns true also if :messages template rendered. I am confused, is this
a bug or expected behavior?
Docs say use strings:
http://rspec.rubyforge.org/rspec-rails/1.1.11/classes/Spec/Rails/Matchers.html#M000078
Not sure why symbols are working at all
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs