Test Unit

1. Paste the contents below in a new file called ‘ruby_test’.rb in your rails application under ‘test/unit’
2. Run the test by typing the following command in your command window: ruby test/unit/ruby_test.rb

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS