rakefile in fog-azure-rm-0.1.1 vs rakefile in fog-azure-rm-0.1.2
- old
+ new
@@ -1,29 +1,29 @@
-require 'rake/testtask'
-task default: :cc_coverage
-task :test do
- ENV['COVERAGE'] = nil
- ENV['CODECLIMATE_REPO_TOKEN'] = nil
- Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
- Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
-end
-
-desc 'Generates a coverage report for minitest-cases using simple-cov'
-task :coverage do
- ENV['CODECLIMATE_REPO_TOKEN'] = nil
- ENV['COVERAGE'] = 'true'
- Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
- Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
-end
-
-desc 'Generates a coverage report for minitest-cases using code-climate'
-task :cc_coverage do
- ENV['COVERAGE'] = nil
- ENV['CODECLIMATE_REPO_TOKEN'] = 'b1401494baa004d90402414cb33a7fc6420fd3693e60c677a120ddefd7d84cfd'
- Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
- Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
-end
-
-desc 'Generates a coverage report for integration tests'
-task :integration_tests do
- Dir.glob('test/smoke_tests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+require 'rake/testtask'
+task default: :cc_coverage
+task :test do
+ ENV['COVERAGE'] = nil
+ ENV['CODECLIMATE_REPO_TOKEN'] = nil
+ Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+ Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+end
+
+desc 'Generates a coverage report for minitest-cases using simple-cov'
+task :coverage do
+ ENV['CODECLIMATE_REPO_TOKEN'] = nil
+ ENV['COVERAGE'] = 'true'
+ Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+ Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+end
+
+desc 'Generates a coverage report for minitest-cases using code-climate'
+task :cc_coverage do
+ ENV['COVERAGE'] = nil
+ ENV['CODECLIMATE_REPO_TOKEN'] = 'b1401494baa004d90402414cb33a7fc6420fd3693e60c677a120ddefd7d84cfd'
+ Dir.glob('test/models/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+ Dir.glob('test/requests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
+end
+
+desc 'Generates a coverage report for integration tests'
+task :integration_tests do
+ Dir.glob('test/smoke_tests/**/test_*.rb').each { |file| require File.expand_path file, __dir__ }
end
\ No newline at end of file