Sha256: f73808fb6defdc5067b7080e62d38698abd1e5c162537703c21f64900117a799
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true RSpec.describe Authorizy::Config, '#cop' do subject(:config) { described_class.new } it 'has default value and can receive a new one' do expect(subject.cop).to eq(Authorizy::BaseCop) config.cop = 'value' expect(config.cop).to eq('value') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authorizy-0.1.0 | spec/authorizy/config/cop_spec.rb |