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.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/controller/fake_models.rb b/actionpack/test/controller/fake_models.rb
new file mode 100644
index 0000000000..2761b09f2f
--- /dev/null
+++ b/actionpack/test/controller/fake_models.rb
@@ -0,0 +1,5 @@
+class Customer < Struct.new(:name, :id)
+ def to_param
+ id.to_s
+ end
+end