summaryrefslogtreecommitdiffstats
path: root/test/exemplars/auth_soruce_exemplar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/exemplars/auth_soruce_exemplar.rb')
-rw-r--r--test/exemplars/auth_soruce_exemplar.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/exemplars/auth_soruce_exemplar.rb b/test/exemplars/auth_soruce_exemplar.rb
new file mode 100644
index 000000000..da277e2ad
--- /dev/null
+++ b/test/exemplars/auth_soruce_exemplar.rb
@@ -0,0 +1,9 @@
+class AuthSource < ActiveRecord::Base
+ generator_for :name, :method => :next_name
+
+ def self.next_name
+ @last_name ||= 'Auth0'
+ @last_name.succ!
+ @last_name
+ end
+end