Rails tutorial expected css title with text to return something?

Make sure you are using Capybara version 1. (as used in the tutorial). New versions of Capybara starting from 2.0 change the way it checks page content.

Now construction.

I figured out the problem. Where I say '#{page_title}' it should be "#{page_title}". Double quotes instead of single quotes -_-.

Can someone tell me why that works? Especially because I have stuff like 'Sample App' in the same have_selector checks and that doesn't throw any kind of error. Hope this helps someone in the future at least.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions