obsolete.ChilliProject/test/exemplars/repository_exemplar.rb

12 lines
222 B
Ruby
Raw Normal View History

class Repository < ActiveRecord::Base
generator_for :type => 'Subversion'
generator_for :url, :method => :next_url
def self.next_url
@last_url ||= 'file:///test/svn'
@last_url.succ!
@last_url
end
end