view test/exemplars/repository_exemplar.rb @ 665:45ec06a8eec9 live

Merge from branch "cannam_integration"
author Chris Cannam
date Fri, 09 Sep 2011 16:42:43 +0100
parents 513646585e45
children cbb26bc654de
line wrap: on
line source
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