diff --git a/test/fixtures/poro.rb b/test/fixtures/poro.rb index 3c3068417..f5927fdaa 100644 --- a/test/fixtures/poro.rb +++ b/test/fixtures/poro.rb @@ -15,6 +15,10 @@ def id @attributes[:id] || @attributes['id'] || object_id end + def to_param + id + end + def method_missing(meth, *args) if meth.to_s =~ /^(.*)=$/ @attributes[$1.to_sym] = args[0]