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