Rakefile in rest-graph-1.2.1 vs Rakefile in rest-graph-1.3.0
- old
+ new
@@ -39,5 +39,13 @@
task :default do
Rake.application.options.show_task_pattern = /./
Rake.application.display_tasks_and_comments
end
+
+desc 'Run example tests'
+task 'test:example' => ['gem:install'] do
+ sh "cd example/rails; #{Gem.ruby} -S rake test"
+end
+
+desc 'Run all tests'
+task 'test:all' => ['test', 'test:example']