mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-02 21:03:53 -04:00
Run JS tests from rake and rake spec:unit
This commit is contained in:
@@ -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