From 719ddbf808837101161d6b210c74de7d137f4608 Mon Sep 17 00:00:00 2001 From: Chris Heald Date: Thu, 10 May 2012 17:54:31 -0700 Subject: [PATCH] Add missing file --- .../samples/decorator_with_special_methods.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 spec/support/samples/decorator_with_special_methods.rb diff --git a/spec/support/samples/decorator_with_special_methods.rb b/spec/support/samples/decorator_with_special_methods.rb new file mode 100755 index 00000000..90cfeb1b --- /dev/null +++ b/spec/support/samples/decorator_with_special_methods.rb @@ -0,0 +1,13 @@ +class DecoratorWithSpecialMethods < Draper::Base + def to_param + "foo" + end + + def id + 1337 + end + + def errors + ["omg errors!"] + end +end