require File.dirname(__FILE__) + '/../test_helper' class <%= goal.cs %>Test < ActiveSupport::TestCase <% goal.associations.each do |k, v| %> <% if :belongs_to == v[:type] %> <%= "should_belong_to :#{k}" %> <% end %> <% end %> end