Skip to content
Browse files

Merge pull request #14 from kbarber/ticket/10026-type_rspec_rake_cleanup

Ticket/10026 type rspec rake cleanup
  • Loading branch information...
2 parents c6807fa + 30dec56 commit fc15ae674a77d431cffb03be61f98dc31b0b0387 @saysjonathan saysjonathan committed Oct 11, 2011
View
13 Rakefile
@@ -1,10 +1,17 @@
require 'rake'
require 'rspec/core/rake_task'
-task :default => [:test]
+task :default do
+ sh %{rake -T}
+end
+
+# Aliases for spec. The (s) versions are used by rvm specs/tests.
+task :test => [:spec]
+task :tests => [:spec]
+task :specs => [:spec]
-desc 'Run RSpec'
-RSpec::Core::RakeTask.new(:test) do |t|
+desc 'Run all RSpec tests'
+RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ['--color']
end
View
0 spec/unit/provider/iptables_prov_spec.rb → spec/unit/puppet/provider/iptables_spec.rb
File renamed without changes.
View
0 spec/unit/type/iptables_type_spec.rb → spec/unit/puppet/type/firewall_spec.rb
File renamed without changes.

0 comments on commit fc15ae6

Please sign in to comment.
Something went wrong with that request. Please try again.