summaryrefslogtreecommitdiff
path: root/core/test
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-09-27 22:33:04 +0200
committerAzul <azul@riseup.net>2012-09-27 22:33:04 +0200
commite17a2a676e0ce585ef9eaa9077887bfe1bc1173f (patch)
treee9984326f2d205d948d0cd3ab8c39aa72cf8af08 /core/test
parent7ea11431db5b2ef93cb3caaa8909b742a1b72f8a (diff)
added in leap web core - merging repos
Diffstat (limited to 'core/test')
-rw-r--r--core/test/integration/navigation_test.rb9
-rw-r--r--core/test/leap_web_core_test.rb7
-rw-r--r--core/test/test_helper.rb15
3 files changed, 31 insertions, 0 deletions
diff --git a/core/test/integration/navigation_test.rb b/core/test/integration/navigation_test.rb
new file mode 100644
index 0000000..eec8c0e
--- /dev/null
+++ b/core/test/integration/navigation_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+
+class NavigationTest < ActionDispatch::IntegrationTest
+
+ # test "the truth" do
+ # assert true
+ # end
+end
+
diff --git a/core/test/leap_web_core_test.rb b/core/test/leap_web_core_test.rb
new file mode 100644
index 0000000..0dd71ff
--- /dev/null
+++ b/core/test/leap_web_core_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class LeapWebCoreTest < ActiveSupport::TestCase
+ test "truth" do
+ assert_kind_of Module, LeapWebCore
+ end
+end
diff --git a/core/test/test_helper.rb b/core/test/test_helper.rb
new file mode 100644
index 0000000..1e26a31
--- /dev/null
+++ b/core/test/test_helper.rb
@@ -0,0 +1,15 @@
+# Configure Rails Environment
+ENV["RAILS_ENV"] = "test"
+
+require File.expand_path("../dummy/config/environment.rb", __FILE__)
+require "rails/test_help"
+
+Rails.backtrace_cleaner.remove_silencers!
+
+# Load support files
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+
+# Load fixtures from the engine
+if ActiveSupport::TestCase.method_defined?(:fixture_path=)
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
+end