Final cleanup
This commit is contained in:
parent
5f7458ff71
commit
a587638d8d
14
.travis.yml
14
.travis.yml
@ -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'
|
|
@ -264,7 +264,7 @@ gem 'abraham', path: '~/Workspace/abraham'
|
|||||||
|
|
||||||
#### Automated testing
|
#### 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
|
### Releasing
|
||||||
|
|
||||||
|
@ -3,14 +3,6 @@
|
|||||||
require "test_helper"
|
require "test_helper"
|
||||||
|
|
||||||
class Foobar::DashboardControllerTest < ActionDispatch::IntegrationTest
|
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
|
test "home should have home tour code" do
|
||||||
get foobar_dashboard_home_url
|
get foobar_dashboard_home_url
|
||||||
assert_response :success
|
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"
|
assert element.text.include? "This tour should appear for the Foobar::DashboardController only"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user