Rakefile in httpi-0.9.4 vs Rakefile in httpi-0.9.5
- old
+ new
@@ -3,16 +3,16 @@
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new do |t|
t.pattern = "spec/httpi/**/*_spec.rb"
- t.rspec_opts = %w(-fd -c)
end
desc "Run RSpec integration examples"
-RSpec::Core::RakeTask.new "spec:integration" do |t|
+RSpec::Core::RakeTask.new "spec_integration" do |t|
t.pattern = "spec/integration/*_spec.rb"
- t.rspec_opts = %w(-fd -c)
end
task :default => :spec
-task :test => :spec
+
+desc "Run RSpec code and integration examples"
+task :ci => [:spec, :spec_integration]