Sha256: b87aea6b49442f8231a3c4505c1ce76fc044c63ba8e7701ad59ed1bc4af8cd52
Contents?: true
Size: 484 Bytes
Versions: 2
Compression:
Stored size: 484 Bytes
Contents
#!/usr/bin/env ruby require 'configurability' require 'rspec' share_examples_for "an object with Configurability" do it "is extended with Configurability" do expect( Configurability.configurable_objects ).to include( described_class ) end it "has a Symbol config key" do expect( described_class.config_key ).to be_a( Symbol ) end it "has a config key that is a reasonable section name" do expect( described_class.config_key.to_s ).to match( /^[a-z]\w*$/i ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
configurability-2.2.0 | lib/configurability/behavior.rb |
configurability-2.1.2 | lib/configurability/behavior.rb |