Sha256: 1e8d0976237d2de2c0122517ddaab519fbe422be939fda1adbef1135c8d7f532
Contents?: true
Size: 420 Bytes
Versions: 26
Compression:
Stored size: 420 Bytes
Contents
require 'rails_helper' shared_examples_for :flexible_content do let(:model) { described_class } let(:klass) { model.to_s.underscore.to_sym } it '.flexible_content?' do expect(model.flexible_content?).to be true end it '.respond_to?' do expect(model).to respond_to( :flexible_content? ) end it '#respond_to?' do expect(model.new).to respond_to( :content_rows ) end end
Version data entries
26 entries across 26 versions & 1 rubygems