Re: [Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-18 Thread Colin Law
On 17 July 2014 16:04, Roelof Wobben wrote: > Colin, > > Thanks, > > But how can I use puts when rspec is checking for the tags The first thing to determine is whether it is your test that is not working as intended, or the code. Open the page being tested in a browser and view the html source.

Re: [Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-17 Thread Roelof Wobben
Colin, Thanks, But how can I use puts when rspec is checking for the tags I have looked at the log/test.logs but nothing looks wierd there. Roelof Op donderdag 17 juli 2014 16:16:57 UTC+2 schreef Colin Law: > > On 17 July 2014 12:44, Roelof Wobben > > wrote: > > Hello, > > > > IM at li

Re: [Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-17 Thread Colin Law
On 17 July 2014 12:44, Roelof Wobben wrote: > Hello, > > IM at listing 7,9 of the tutorial and according to the book that one must be > red. > But on my system it is green. > > Can anyone explain that. A simple technique to debug your code is to use puts statements. They will output into the ser

[Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-17 Thread Roelof Wobben
Hello, IM at listing 7,9 of the tutorial and according to the book that one must be red. But on my system it is green. Can anyone explain that. My code can be found here : https://github.com/roelof1967/sample_app Roelof -- You received this message because you are subscribed to the Google