Sha256: 8f0edc89d7ad2aab6738e80a697afb1987b81eec2a7b99321233c45185c1e77e
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" task :spec do (1..6).each { |batch| Rake::Task["spec:batch#{batch}"].invoke } end namespace :spec do task :prepare do sh %{bundle update} sh %{cd spec/test_app; bundle update; bundle exec rails db:setup} # may need ;bundle exec rails db:setup as well end (1..6).each do |batch| RSpec::Core::RakeTask.new(:"batch#{batch}") do |t| t.pattern = "spec/batch#{batch}/**/*_spec.rb" end end end task :default => :spec
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hyper-mesh-1.0.0.lap27 | Rakefile |
hyper-mesh-1.0.0.lap26 | Rakefile |
hyper-mesh-1.0.0.lap25 | Rakefile |
hyper-mesh-1.0.0.lap24 | Rakefile |