From a587638d8d93b5e0d50ba98792ecb85c5c9882aa Mon Sep 17 00:00:00 2001 From: Jonathan Abbett Date: Thu, 17 Jun 2021 16:21:31 -0400 Subject: [PATCH] Final cleanup --- .travis.yml | 14 -------------- README.md | 2 +- .../foobar/dashboard_controller_test.rb | 10 +--------- 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3746d66..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: ruby - -env: - - 'RAILS_VERSION=5.2.0' - - 'RAILS_VERSION=6.0.0' - - 'RAILS_VERSION=6.1.0' - -before_script: - - 'yarn' - - 'bundle install' - - 'RAILS_ENV=test bundle exec rake db:create' - - 'RAILS_ENV=test bundle exec rake db:migrate' - -script: 'RAILS_ENV=test bundle exec rake test' \ No newline at end of file diff --git a/README.md b/README.md index fcd38fe..0b395e2 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ gem 'abraham', path: '~/Workspace/abraham' #### Automated testing -We use TravisCI to automatically test this engine with Rails 5.2, 6.0, and 6.1. For test history, venture over to [TravisCI](https://travis-ci.com/actmd/abraham). +We use GitHub Actions to automatically test this engine with Rails 5.2, 6.0, and 6.1. ### Releasing diff --git a/test/dummy/test/controllers/foobar/dashboard_controller_test.rb b/test/dummy/test/controllers/foobar/dashboard_controller_test.rb index f90f386..9eb1a38 100644 --- a/test/dummy/test/controllers/foobar/dashboard_controller_test.rb +++ b/test/dummy/test/controllers/foobar/dashboard_controller_test.rb @@ -3,14 +3,6 @@ require "test_helper" class Foobar::DashboardControllerTest < ActionDispatch::IntegrationTest - # setup do - # I18n.locale = :en - # end - - # teardown do - # I18n.locale = :en - # end - test "home should have home tour code" do get foobar_dashboard_home_url assert_response :success @@ -20,4 +12,4 @@ class Foobar::DashboardControllerTest < ActionDispatch::IntegrationTest assert element.text.include? "This tour should appear for the Foobar::DashboardController only" end end -end \ No newline at end of file +end