Sha256: b1867c8eb627855e16a6323b22f760e95c3ada826060ecf9be91b6d28e3e8245
Contents?: true
Size: 400 Bytes
Versions: 8
Compression:
Stored size: 400 Bytes
Contents
require 'spec_helper' describe Datagrid::ActiveModel do class ActiveReport include Datagrid::ActiveModel end describe ".model_name" do it "should be generate from class name " do ActiveReport.model_name.should == "ActiveReport" end it "should have ActiveModel naming conventions" do ActiveReport.model_name.i18n_key.should == :active_report end end end
Version data entries
8 entries across 8 versions & 1 rubygems