Sha256: 376dc8e20877b50c4b4229d00a0eb1785f8c1e5bcb9c3edaf3e13cf56fb5b494
Contents?: true
Size: 516 Bytes
Versions: 12
Compression:
Stored size: 516 Bytes
Contents
RSpec.describe 'assorted sanity checks' do let(:resource_methods) { Yaks::Resource.public_instance_methods.sort } let(:collection_resource_methods) { Yaks::CollectionResource.public_instance_methods.sort } let(:null_resource_methods) { Yaks::NullResource.public_instance_methods.sort } specify 'all resource classes should have the exact same public API' do expect(resource_methods).to eql null_resource_methods expect(resource_methods).to eql collection_resource_methods end end
Version data entries
12 entries across 12 versions & 1 rubygems