All pastes #81277 Raw Edit

xandr

public ruby v1 · immutable
·published 2006-07-07 09:23 UTC
rendered paste body
# contents of test/fixtures/authors--- xandr:  id: 1   name: xandros# contents of test/unit/test_authors:require File.dirname(__FILE__) + '/../test_helper'class AuthorTest < Test::Unit::TestCase  fixtures :authors  def setup    @xandr= @authors["xandr"]  end  # Replace this with your real tests.  def test_truth    # assert_kind_of Author, @authors["xandr"] # ===> also failure if I comment the line in setup    assert_kind_of Author, @xandr  end  end