Sha256: e90968fbaa01688b2602ac836a663d7bb1c520058d598bdaee32b954eff50031
Contents?: true
Size: 455 Bytes
Versions: 11
Compression:
Stored size: 455 Bytes
Contents
require 'rake' require 'rspec/core/rake_task' desc "Run all rspecs" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = Dir.glob('spec/**/*_spec.rb') t.rspec_opts = '--format documentation' # t.rspec_opts << ' more options' end desc "Run integration test on example" task :integration_test do chdir("./examples/fff_example") do sh "rake clobber" sh "rake test:all" end end task :default => [:spec, :integration_test]
Version data entries
11 entries across 11 versions & 1 rubygems