Sha256: a8dcf228718079e07174792032624f54b0d47a80ba45763639216f3b87806eb3
Contents?: true
Size: 428 Bytes
Versions: 9
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class ModeTest < ViteRails::Test def test_current assert_equal ViteRails.config.mode, Rails.env end def test_custom_without_config with_rails_env('foo') do assert_equal ViteRails.config.mode, 'production' end end def test_custom_with_config with_rails_env('staging') do assert_equal ViteRails.config.mode, 'staging' end end end
Version data entries
9 entries across 9 versions & 1 rubygems