vendor/rails/actionpack/test/controller/fake_models.rb in radiant-0.7.2 vs vendor/rails/actionpack/test/controller/fake_models.rb in radiant-0.8.0

- old
+ new

@@ -7,5 +7,13 @@ class BadCustomer < Customer end class GoodCustomer < Customer end + +module Quiz + class Question < Struct.new(:name, :id) + def to_param + id.to_s + end + end +end