DEV: Fix our Travis build (#455)

DEV: Fix our Travis build (#455)

  • Fix travis

  • Remove ruby 2.4 from travis

diff --git a/.travis.yml b/.travis.yml
index 618b957..f95d03b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,6 @@
 language: ruby
 cache: bundler
 rvm:
-  - 2.4
   - 2.5
   - 2.6
 before_install:
diff --git a/spec/fixtures/webpacker.yml b/spec/fixtures/webpacker.yml
index 519b031..d5b070c 100644
--- a/spec/fixtures/webpacker.yml
+++ b/spec/fixtures/webpacker.yml
@@ -1,2 +1,2 @@
-development:
+test:
   public_output_path: some/assets/path
diff --git a/spec/integration/railtie_methods_spec.rb b/spec/integration/railtie_methods_spec.rb
index 851d935..6cc655d 100644
--- a/spec/integration/railtie_methods_spec.rb
+++ b/spec/integration/railtie_methods_spec.rb
@@ -181,6 +181,7 @@ describe Rack::MiniProfilerRailsMethods do
 
   it '#get_webpacker_assets_path returns webpacker public_output_path if webpacker exists' do
     expect(described_class.get_webpacker_assets_path()).to eq(nil)
+    ENV['RAILS_ENV'] = 'test'
     require 'rails'
     require 'webpacker'
     tmp_path = Pathname.new("/tmp/rails_root_#{SecureRandom.hex}")

GitHub sha: 60fb0d5b

This commit appears in #455 which was merged by OsamaSayegh.