Permalink
Browse files

Remove unnecessary code.

  • Loading branch information...
Gabe Berke-Williams
Gabe Berke-Williams committed Jan 31, 2012
1 parent 8bc10bd commit 2c09a2febab812cd1be4e17c0dbe356b3fb7410c
Showing with 1 addition and 4 deletions.
  1. +1 −4 spec/law_of_demeter_violator/violator_spec.rb
@@ -35,10 +35,7 @@ def parent_method
end
end
- define_class("Child", Parent) do
- def child_method
- end
- end
+ define_class("Child", Parent)
violator = LawOfDemeterViolator::Violator.new(Child)
violator.violate

0 comments on commit 2c09a2f

Please sign in to comment.