Module: RSpec::Rails::Orm::ActiveRecord

Includes:
Base
Defined in:
lib/rspec_for_generators/rails_helpers/rails_orm.rb

Instance Method Summary collapse

Methods included from Model

#create_model, #model_file_name, #remove_model, #remove_models

Instance Method Details

#file_content(name) ⇒ Object



33
34
35
# File 'lib/rspec_for_generators/rails_helpers/rails_orm.rb', line 33

def file_content(name)
  file_w_inherit(name) {'ActiveRecord::Base'}
end