forked from cloudfoundry-attic/nyet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
27 lines (21 loc) · 804 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec' # use this if you're using RSpec
RSpec::Core::RakeTask.new(:spec) do |c|
c.rspec_opts = %w(--format documentation --color)
end
task :default => :spec
namespace :spec do
RSpec::Core::RakeTask.new(:appdirect_services) do |c|
c.pattern = 'services_spec/**/*_spec.rb'
c.rspec_opts = %w(--format documentation --color --tag appdirect)
end
RSpec::Core::RakeTask.new(:managing_a_service) do |c|
c.pattern = 'services_spec/managing_a_service_spec.rb'
c.rspec_opts = %w(--format documentation --color)
end
RSpec::Core::RakeTask.new(:user_provided_service) do |c|
c.pattern = 'services_spec/service_connector_spec.rb'
c.rspec_opts = %w(--format documentation --color)
end
task :service_connector
end