Rakefile in ninja-model-0.8.1 vs Rakefile in ninja-model-0.9.0
- old
+ new
@@ -6,9 +6,15 @@
end
require 'rspec/core/rake_task'
require 'yard'
+#task :prepare_db do
+# db_root = File.join(File.expand_path('../', __FILE__), 'spec', 'db')
+# db_file = File.join(db_root, 'test.sqlite3')
+# sh "rm #{db_file}" if File.exists?(db_file)
+# sh %Q{sqlite3 "#{db_file}" "create table a (a integer); drop table a;"}
+#end
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = false
t.pattern = 'spec/**/*_spec.rb'
end