Sha256: 0065c680e2df0cfe14320db3d6bb6eebfc7ae38d14e17935e9eed502980bb9ad
Contents?: true
Size: 415 Bytes
Versions: 8
Compression:
Stored size: 415 Bytes
Contents
require 'spec_helper' describe BaseComponent do include RSpec::Rails::RequestExampleGroup context 'index' do it 'should render field content' do @category = Fabricate :category get admin_categories_path field = controller.index_fields[:title] Puffer::Component::Base.render_component(controller, field, :index, :record => @category).should == @category.title end end end
Version data entries
8 entries across 8 versions & 1 rubygems