Ruby on Rails Tutorial – Chapter 5

This chapter is more about front end web page changing portion and using TDD to do coding.  I like how it’s always adding a test case first, make sure it fails, then add code to make it work. Really drives in the TDD concept for those not use to it. I’d like to see him just teach the better and more efficient way in the beginning. I’d like to think you can assume that people understand functions. Otherwise it’s constantly redoing things which is really boring.

For Section 5.3.4 ran into this problem

1) User pages signup page
Failure/Error: it { should have_title(full_title(‘Sign up’)) }
NoMethodError:
undefined method `has_title?’ for #<Capybara::Session>

Too lazy to fix it.

 

Advertisements
This entry was posted in Coding, RoR. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s