mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-21 22:44:23 -04:00
Run JS tests from rake and rake spec:unit
This commit is contained in:
1 parent
f11bc42507
commit
71ec9fd2d3
1 file changed
+2
-2
@@ -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']
|
||||
Reference in new issue
Block a user