tasks/spec.rb in snusnu-dm-accepts_nested_attributes-0.0.6 vs tasks/spec.rb in snusnu-dm-accepts_nested_attributes-0.10.0

- old
+ new

@@ -6,10 +6,9 @@ task :default => [ :spec ] desc 'Run specifications' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts') - t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s).map { |f| f.to_s } begin gem 'rcov', '~>0.8' t.rcov = JRUBY ? false : (ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true) t.rcov_opts << '--exclude' << 'spec' \ No newline at end of file