ruby-on-railsruby-on-rails-4grails-test

How to write testcase in Ruby on Rails


  • I am newbie in Rails test. so how can I start my testing.
  • Anyone Knows better tutorial for Rails testing.

Solution

  • You can use Rails built in library to write test cases. After getting some familiarity with it you can proceed with Rspec and learn it with various ebook book.

    You can follow following tutorial for rspec tutorial