diff options
Diffstat (limited to 'test/exemplars/subversion_repository_exemplar.rb')
-rw-r--r-- | test/exemplars/subversion_repository_exemplar.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/exemplars/subversion_repository_exemplar.rb b/test/exemplars/subversion_repository_exemplar.rb new file mode 100644 index 000000000..2d48cb2f3 --- /dev/null +++ b/test/exemplars/subversion_repository_exemplar.rb @@ -0,0 +1,11 @@ +class Repository::Subversion < Repository + generator_for :type, :method => 'Subversion' + generator_for :url, :method => :next_url + + def self.next_url + @last_url ||= 'file:///test/svn' + @last_url.succ! + @last_url + end + +end |