Sha256: 4a589ebfff23e6b27108b4681dc481af40ad82dcb71bc9e386c28276ddd3ef35
Contents?: true
Size: 787 Bytes
Versions: 19
Compression:
Stored size: 787 Bytes
Contents
# frozen_string_literal: true require 'rake/testtask' namespace :spec do desc 'run all tests' task all: [:omdb, :skyscanner, :airbnb, :geonames] task :omdb do sh 'ruby spec/omdb_spec.rb' end task :skyscanner do sh 'ruby spec/skyscanner_spec.rb' end task :airbnb do sh 'ruby spec/airbnb_spec.rb' end task :geonames do sh 'ruby spec/geonames_spec.rb' end end desc 'delete cassette fixtures' task :wipe do sh 'rm spec/fixtures/cassettes/*.yml' do |ok, _| puts(ok ? 'Cassettes deleted' : 'No cassettes found') end end namespace :quality do desc 'run all quality checks' task all: [:rubocop, :flog, :flay] task :flog do sh 'flog lib/' end task :flay do sh 'flay lib/' end task :rubocop do sh 'rubocop' end end
Version data entries
19 entries across 19 versions & 1 rubygems