mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Organize specs
This commit is contained in:
parent
36e2179463
commit
7fe007aedd
9 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue