Sha256: 508d30e99b4d9f57f76fd1a35aed6c5f75dec7d15ad809d17a0a80e1df771ccb
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class ModeTest < ViteRails::Test def test_mode assert_equal Rails.env, ViteRails.config.mode assert_equal ViteRails.config.mode, ViteRails.mode end def test_mode_with_rails_env with_rails_env('staging') do |config| assert_equal 'staging', config.mode end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vite_rails-1.0.12 | test/mode_test.rb |
vite_rails-1.0.11 | test/mode_test.rb |
vite_rails-1.0.10 | test/mode_test.rb |
vite_rails-1.0.9 | test/mode_test.rb |