Sha256: 84a6f442278ceaa4cc11ecffa9ef3ef53d1ee3678b07d9c8bf203b70ba28e9ad
Contents?: true
Size: 668 Bytes
Versions: 9
Compression:
Stored size: 668 Bytes
Contents
require 'bundler/gem_tasks' begin require 'rspec/core/rake_task' desc 'Run All Tests' RSpec::Core::RakeTask.new(:spec) desc 'Run Only Unit Tests' RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = './spec/api/**/*_spec.rb' end RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = './spec/models/**/*_spec.rb' end desc 'Run Only Integration Tests' RSpec::Core::RakeTask.new(:integration) do |t| t.pattern = './spec/integration/*_spec.rb' end desc 'Run Only Client Unit Tests' RSpec::Core::RakeTask.new(:client) do |t| t.pattern = './spec/*_spec.rb' end task default: :spec rescue LoadError # no rspec available end
Version data entries
9 entries across 9 versions & 1 rubygems