Sha256: 6550dba1de004af7560f06f335c1c6caff3da47946d535f40b0aeddaf3f24252

Contents?: true

Size: 337 Bytes

Versions: 10

Compression:

Stored size: 337 Bytes

Contents

require 'rspec/core'
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'

RSpec::Core::RakeTask.new(:spec => ['ci:setup:rspecdoc']) do |task|
  task.pattern = FileList['spec/**/*_spec.rb']
end

task :overwrite_rack_env do
  ENV['RACK_ENV'] = 'test'
  RACK_ENV = 'test'
end

task :spec => [:overwrite_rack_env, 'db:recreate']

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pact_broker-0.0.10 tasks/rspec.rake
pact_broker-0.0.9 tasks/rspec.rake
pact_broker-0.0.8 tasks/rspec.rake
pact_broker-0.0.7 tasks/rspec.rake
pact_broker-0.0.6 tasks/rspec.rake
pact_broker-0.0.5 tasks/rspec.rake
pact_broker-0.0.4 tasks/rspec.rake
pact_broker-0.0.3 tasks/rspec.rake
pact_broker-0.0.2 tasks/rspec.rake
pact_broker-0.0.1 tasks/rspec.rake