Permalink
Browse files

Use a more meaningful way to include modules

  • Loading branch information...
1 parent d111420 commit 00d74a574740cb596e52fe19a7520986503df087 @jhchabran jhchabran committed Jul 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 spec/vintner/representer_spec.rb
@@ -190,7 +190,6 @@ def stuff
class Dummy
include Vintner::Representer
- extend Stuff
property :title do
get do |model|
@@ -203,6 +202,8 @@ class Dummy
end
representation do |json|
+ extend Stuff
+
json.meta do |meta|
meta.property :title
meta.stuff stuff

0 comments on commit 00d74a5

Please sign in to comment.