aboutsummaryrefslogtreecommitdiff
path: root/testapp/test
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-10-10 08:03:13 +0100
committerChristopher Baines <mail@cbaines.net>2018-10-11 18:27:05 +0100
commit8af754e1087d662ab68964aa67685d48b8e7c4fc (patch)
treea4b6e0d3c07ca10a32dfb802d8072aff75944d13 /testapp/test
parent6516fc56b91f91aae7a082f662bf5cf9afd1149c (diff)
downloadguix-demo-8af754e1087d662ab68964aa67685d48b8e7c4fc.tar
guix-demo-8af754e1087d662ab68964aa67685d48b8e7c4fc.tar.gz
Run rails new testapp --skip-bundle
Diffstat (limited to 'testapp/test')
-rw-r--r--testapp/test/application_system_test_case.rb5
-rw-r--r--testapp/test/controllers/.keep0
-rw-r--r--testapp/test/fixtures/.keep0
-rw-r--r--testapp/test/fixtures/files/.keep0
-rw-r--r--testapp/test/helpers/.keep0
-rw-r--r--testapp/test/integration/.keep0
-rw-r--r--testapp/test/mailers/.keep0
-rw-r--r--testapp/test/models/.keep0
-rw-r--r--testapp/test/system/.keep0
-rw-r--r--testapp/test/test_helper.rb10
10 files changed, 15 insertions, 0 deletions
diff --git a/testapp/test/application_system_test_case.rb b/testapp/test/application_system_test_case.rb
new file mode 100644
index 0000000..d19212a
--- /dev/null
+++ b/testapp/test/application_system_test_case.rb
@@ -0,0 +1,5 @@
+require "test_helper"
+
+class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
+ driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
+end
diff --git a/testapp/test/controllers/.keep b/testapp/test/controllers/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/controllers/.keep
diff --git a/testapp/test/fixtures/.keep b/testapp/test/fixtures/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/fixtures/.keep
diff --git a/testapp/test/fixtures/files/.keep b/testapp/test/fixtures/files/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/fixtures/files/.keep
diff --git a/testapp/test/helpers/.keep b/testapp/test/helpers/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/helpers/.keep
diff --git a/testapp/test/integration/.keep b/testapp/test/integration/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/integration/.keep
diff --git a/testapp/test/mailers/.keep b/testapp/test/mailers/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/mailers/.keep
diff --git a/testapp/test/models/.keep b/testapp/test/models/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/models/.keep
diff --git a/testapp/test/system/.keep b/testapp/test/system/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/test/system/.keep
diff --git a/testapp/test/test_helper.rb b/testapp/test/test_helper.rb
new file mode 100644
index 0000000..3ab84e3
--- /dev/null
+++ b/testapp/test/test_helper.rb
@@ -0,0 +1,10 @@
+ENV['RAILS_ENV'] ||= 'test'
+require_relative '../config/environment'
+require 'rails/test_help'
+
+class ActiveSupport::TestCase
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
+ fixtures :all
+
+ # Add more helper methods to be used by all tests here...
+end