Sha256: ab75b6acece42b68436dc1b4b2e22bb81e3a10277c9385d335508de66843d883
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
require_relative '../spec_helper' describe "Reparty::Report::ActiveRecord" do before(:each) do User.delete_all end it 'configures cleanly' do Reparty.config do |config| config.add_report Reparty::Report::ActiveRecord, "Users", :user, :count, field: :updated_at end Reparty.reports.last.should be_kind_of(Reparty::Report::ActiveRecord) Reparty.reports.last.field.should == :updated_at end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reparty-0.1.2 | spec/report/active_record_spec.rb |
reparty-0.1.0 | spec/report/active_record_spec.rb |