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
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