lib/tasks/rspec.rake in rsemantic-0.1.4 vs lib/tasks/rspec.rake in rsemantic-0.2.0

- old
+ new

@@ -1,11 +1,15 @@ require 'rspec/core/rake_task' desc 'Default: run specs.' -task :default => :spec +task :default => [:spec, :integration] desc "Run specs" RSpec::Core::RakeTask.new + +RSpec::Core::RakeTask.new(:integration) do |t| + t.pattern = 'spec_integration/*_spec.rb' +end desc "Generate code coverage" RSpec::Core::RakeTask.new(:coverage) do |t| t.rcov = true t.rcov_opts = ['--exclude', 'spec'] \ No newline at end of file