aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/fake_models.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/fake_models.rb')
-rw-r--r--actionpack/test/controller/fake_models.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/test/controller/fake_models.rb b/actionpack/test/controller/fake_models.rb
index 7420579ed8..0b30c79b10 100644
--- a/actionpack/test/controller/fake_models.rb
+++ b/actionpack/test/controller/fake_models.rb
@@ -9,3 +9,11 @@ end
class GoodCustomer < Customer
end
+
+module Quiz
+ class Question < Struct.new(:name, :id)
+ def to_param
+ id.to_s
+ end
+ end
+end