Sha256: 8969078742d280432451861e59354292a51f0c1f80c900126b4c0b0cecfd8145
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
shared_examples_for 'untouched models' do describe 'has disabled acts_as_api by default' do it 'indicates that acts_as_api is disabled' do expect(Untouched.acts_as_api?).to eq(false) end it 'does not respond to api_accessible' do expect(Untouched).not_to respond_to :api_accessible end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_api-1.0.1 | spec/support/model_examples/untouched.rb |
acts_as_api-1.0.0 | spec/support/model_examples/untouched.rb |