Sha256: dae55e8272abd01899a1f382752442f146dc0c946f42d3f699d2706755e96f0d
Contents?: true
Size: 979 Bytes
Versions: 2
Compression:
Stored size: 979 Bytes
Contents
desc "Run the full suite using 1 core" task test: [:enforce_version, 'spec:unit', 'spec:request', 'cucumber', 'cucumber:class_reloading'] require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) namespace :spec do desc "Run the unit specs" RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = "spec/unit/**/*_spec.rb" end desc "Run the request specs" RSpec::Core::RakeTask.new(:request) do |t| t.pattern = "spec/requests/**/*_spec.rb" end end require 'cucumber/rake/task' Cucumber::Rake::Task.new(:cucumber) do |t| t.profile = 'default' t.bundler = false end namespace :cucumber do Cucumber::Rake::Task.new(:wip, "Run the cucumber scenarios with the @wip tag") do |t| t.profile = 'wip' t.bundler = false end Cucumber::Rake::Task.new(:class_reloading, "Run the cucumber scenarios that test reloading") do |t| t.profile = 'class-reloading' t.bundler = false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-1.0.0 | tasks/test.rake |
activeadmin-1.0.0.pre5 | tasks/test.rake |