1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Organize specs

This commit is contained in:
kbparagua 2013-03-02 23:06:21 +08:00
parent 36e2179463
commit 7fe007aedd
9 changed files with 9 additions and 0 deletions

View file

@ -3,5 +3,14 @@
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec:generators') do |spec|
spec.pattern = FileList['spec/generators/*_spec.rb']
end
RSpec::Core::RakeTask.new('spec:javascripts') do |spec|
spec.pattern = FileList['spec/javascripts/*_spec.rb']
end
TestApp::Application.load_tasks