Sha256: ed88997930deb07d9c56ae74f657135cd3bc7ee32f1195ceb0dedc2cdcb68de1
Contents?: true
Size: 441 Bytes
Versions: 15
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' describe Datagrid::Columns::Column do describe ".inspect" do subject do class ColumnInspectTest include Datagrid scope {Entry} column(:id, header: "ID") end ColumnInspectTest.column_by_name(:id) end it "shows inspect information" do expect(subject.inspect).to eq("#<Datagrid::Columns::Column ColumnInspectTest#id {:header=>\"ID\"}>") end end end
Version data entries
15 entries across 15 versions & 1 rubygems