Sha256: 14d9c5ec899d4771b6db109e7b9efec58c3802c90cfe9c8eeee2bd78d25ce509
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Ki::Model::ModelHelper do include Ki::Model::ModelHelper it 'has skipped params' do expect(skipped_params).to eq [] end # TODO: find out if this is a good idea it 'tests the request' do class TmpClassModelHelper def get? true end def post? true end def put? true end def delete? true end end @req = TmpClassModelHelper.new expect(post?).to be true expect(put?).to be true expect(delete?).to be true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ki-0.4.12 | spec/lib/ki/modules/model_helper_spec.rb |