diff options
Diffstat (limited to 'core/test')
-rw-r--r-- | core/test/integration/navigation_test.rb | 9 | ||||
-rw-r--r-- | core/test/leap_web_core_test.rb | 7 | ||||
-rw-r--r-- | core/test/test_helper.rb | 15 |
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 |