aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/environments/test.rb2
-rw-r--r--test/fixtures/repo/profiles/repo_name1
-rw-r--r--test/fixtures/repo/profiles/use.desc2
3 files changed, 5 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 1c19f08..2eae20e 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -40,3 +40,5 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
end
+
+KKULEOMI_PORTDIR = Rails.root.join('test', 'fixtures', 'repo')
diff --git a/test/fixtures/repo/profiles/repo_name b/test/fixtures/repo/profiles/repo_name
new file mode 100644
index 0000000..e448b2d
--- /dev/null
+++ b/test/fixtures/repo/profiles/repo_name
@@ -0,0 +1 @@
+packages-test
diff --git a/test/fixtures/repo/profiles/use.desc b/test/fixtures/repo/profiles/use.desc
new file mode 100644
index 0000000..111e4d1
--- /dev/null
+++ b/test/fixtures/repo/profiles/use.desc
@@ -0,0 +1,2 @@
+test - Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
+