Sha256: 003196c1d6c9b8e1ff18e1e0da0a675ae9149967e28710eabe7ce725b5cf57c2

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'Environments' do
  subject { Dummy::Container }

  describe "frozen?" do
    context 'when Rails environment is test' do
      it { is_expected.not_to be_frozen }
    end

    context 'when Rails environment is not test', :production_env do
      it { is_expected.to be_frozen }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-system-rails-0.3.1 spec/integration/environments_spec.rb
dry-system-rails-0.3.0 spec/integration/environments_spec.rb
dry-system-rails-0.2.0 spec/integration/environments_spec.rb