#78 ✓resolved
Xavier Noria

update generated unit test example for Rails 2

Reported by Xavier Noria | December 30th, 2007 @ 07:18 PM | in The Rails 3 Way

There's a generated unit test example on page 568. In Rails 2 there's no fixture macro nor blank lines in the definition body:

require File.dirname(__FILE__) + '/../test_helper'

class CustomerTest < ActiveSupport::TestCase
  # Replace this with your real tests.
  def test_truth
    assert true
  end
end

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages