test/unit/rake_task_test.rb in rails-erd-1.2.2 vs test/unit/rake_task_test.rb in rails-erd-1.3.0
- old
+ new
@@ -12,10 +12,9 @@
Rake.application.options.silent = true
end
def teardown
FileUtils.rm "erd.dot" rescue nil
- RailsERD::Diagram.send :remove_const, :Graphviz rescue nil
end
define_method :create_app do
Object::Quux = Module.new
Object::Quux::Application = Class.new