Sha256: 130867b6a3de67b2acad09e7638b34cfc8587582e04fc98f3ace583b8c925262
Contents?: true
Size: 763 Bytes
Versions: 1
Compression:
Stored size: 763 Bytes
Contents
require 'bundler/gem_tasks' require 'rubocop/rake_task' require 'rake/testtask' RuboCop::RakeTask.new task :default => :test desc 'Run fog-openstack unit tests' task :test do mock = ENV['FOG_MOCK'] || 'true' sh("export FOG_MOCK=#{mock} && bundle exec shindont") end # The following is transition period until all shindo tests in /tests have been # migrated over minitest /test desc "Run fog-openstack unit tests for /test" Rake::TestTask.new do |t| t.name = 'minitest' t.libs.push [ "lib", "test" ] t.test_files = FileList['test/openstack/*.rb'] t.verbose = true end desc "Run fog-openstack unit tests for /spec" Rake::TestTask.new do |t| t.name = 'spec' t.libs.push [ "lib", "spec" ] t.pattern = 'spec/**/*_spec.rb' t.verbose = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-openstack-0.1.6 | Rakefile |