Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cancan
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Github Mirror
coopdevs
cancan
Commits
70b5f9a6
Commit
70b5f9a6
authored
14 years ago
by
Ryan Bates
Browse files
Options
Downloads
Patches
Plain Diff
adding spec_all task for running specs for all model adapters
parent
f9f71d67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rakefile
+8
-0
8 additions, 0 deletions
Rakefile
with
8 additions
and
0 deletions
Rakefile
+
8
−
0
View file @
70b5f9a6
...
...
@@ -7,4 +7,12 @@ RSpec::Core::RakeTask.new do |t|
t
.
verbose
=
false
end
desc
"Run specs for all adapters"
task
:spec_all
do
%w[active_record data_mapper mongoid]
.
each
do
|
model_adapter
|
puts
"MODEL_ADAPTER =
#{
model_adapter
}
"
system
"rake spec MODEL_ADAPTER=
#{
model_adapter
}
"
end
end
task
:default
=>
:spec
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment