Sha256: 18998a3675b7db9389df759582e0eeae83966391ea1a7654eff1ea66a35c386d
Contents?: true
Size: 370 Bytes
Versions: 8
Compression:
Stored size: 370 Bytes
Contents
require 'ar_helper' context 'create new entity with config' do before do class Entity < ActiveRecord::Base sample_filter title: {type: :string} end Entity.create(title: 'text') end it 'shoud create user and define params set' do expect(Entity.count).to eq(1) expect(Entity.filter_params_set).to be_a(SampleFilter::ParamsSet) end end
Version data entries
8 entries across 8 versions & 1 rubygems