Sha256: 05bfd68025de56e8702c66eb7a60fada44fa52571c836c504c2b9a7dde38ff60
Contents?: true
Size: 744 Bytes
Versions: 1
Compression:
Stored size: 744 Bytes
Contents
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) RSpec::Core::RakeTask.new(:spec_with_message_class) do | task | task.pattern = "spec/lib/pact/consumer_contract/message_spec_with_message_class.rb" end RSpec::Core::RakeTask.new(:spec_with_message_module) do | task | task.pattern = "spec/lib/pact/consumer_contract/message_spec_with_message_module.rb" end task :set_active_support_on do ENV["LOAD_ACTIVE_SUPPORT"] = 'true' end desc "This is to ensure that the gem still works even when active support JSON is loaded." task :spec_with_active_support => [:set_active_support_on] do Rake::Task['spec'].execute end task :default => [:spec, :spec_with_active_support, :spec_with_message_class, :spec_with_message_module]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact-support-1.3.0.alpha.1 | tasks/spec.rake |