X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=inline;f=vendor%2Frails%2Factionpack%2Ftest%2Fcontroller%2Ffake_models.rb;fp=vendor%2Frails%2Factionpack%2Ftest%2Fcontroller%2Ffake_models.rb;h=7420579ed8fdf76662854960ee3cdefbc787a6b9;hb=d115f2e23823271635bad69229a42cd8ac68debe;hp=0000000000000000000000000000000000000000;hpb=37cb670bf3ddde90b214e591f100ed4446469484;p=depot.git

diff --git a/vendor/rails/actionpack/test/controller/fake_models.rb b/vendor/rails/actionpack/test/controller/fake_models.rb
new file mode 100644
index 0000000..7420579
--- /dev/null
+++ b/vendor/rails/actionpack/test/controller/fake_models.rb
@@ -0,0 +1,11 @@
+class Customer < Struct.new(:name, :id)
+  def to_param
+    id.to_s
+  end
+end
+
+class BadCustomer < Customer
+end
+
+class GoodCustomer < Customer
+end