Skip to content

Commit 7ca4a76

Browse files
committed
ontoportal testkit update
1 parent f83aeac commit 7ca4a76

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/alexskr/ontoportal_testkit.git
3-
revision: 5e65844246008127231880edc6a2e72ab09a5fb7
3+
revision: 33f52810bdb576c25922fb739dea49507cf362a6
44
branch: main
55
specs:
66
ontoportal_testkit (0.1.0)

rakelib/ontoportal_testkit.rake

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
require "ontoportal/testkit/tasks"
1+
begin
2+
require "ontoportal/testkit/tasks"
3+
rescue LoadError
4+
# ontoportal_testkit lives in group :test. Deploy/prod bundles built with
5+
# BUNDLE_WITHOUT=test (and Capistrano prod hosts) don't include it, so the
6+
# require would fail and Rake would abort before any other task could run.
7+
# Skip silently — testkit tasks are intentionally unavailable outside dev/test.
8+
end

0 commit comments

Comments
 (0)