Commit 983d36f6 by Guillermo Guerrero Ibarra Committed by Cuong Tran

Fixed some offenses 7. (#428)

parent 7a257965
...@@ -567,14 +567,7 @@ EOS ...@@ -567,14 +567,7 @@ EOS
describe '#get_model_class' do describe '#get_model_class' do
require 'tmpdir' require 'tmpdir'
module ::ActiveRecord # TODO: use 'files' gem instead
class Base
def self.has_many _name
end
end
end
# todo: use 'files' gem instead
def create(file, body = 'hi') def create(file, body = 'hi')
file_path = File.join(AnnotateModels.model_dir[0], file) file_path = File.join(AnnotateModels.model_dir[0], file)
FileUtils.mkdir_p(File.dirname(file_path)) FileUtils.mkdir_p(File.dirname(file_path))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment