Run JS tests from rake and rake spec:unit

This commit is contained in:
Miles Gould committed 2017-02-07 14:27:14 +00:00
1 parent f11bc42507
commit 71ec9fd2d3
1 file changed
+2 -2
+2 -2
View File
@@ -14,10 +14,10 @@ end
namespace :spec do
desc "Run only unit tests"
task :unit do
task unit: ['jasmine:ci'] do
suites = %w(controllers helpers lib mailers models requests routing views)
system('rspec', *suites.collect { |s| "spec/#{s}" })
end
end
task default: [:static, :spec]
task default: [:static, :spec, 'jasmine:ci']