-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,15 +1,3 @@ | |||
# Loaded by script/console. | # Loaded by script/console. | ||
|
|
||
Integral::Database.connect | Integral::Database.connect | ||
|
|||
# You should only use this function when you first install integral, to give | |||
# yourself a successful test run for your existing applications. You should | |||
# use the app:add thor task to add all relevant applications before you | |||
# run it. | |||
# | |||
def create_test_run_from_live_versions(success) | |||
run = TestRun.new | |||
run.application_versions << ApplicationVersion.check_current_versions(:live) | |||
run.passed = success | |||
run.save! | |||
end |