Sha256: 0ad5c75fb5a5f4600f3d08fc876c7d52a39e034d6afe8e1860fa1bdb5b12fe94

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'

describe QBFC::Report do

  describe ".get_class" do
    it "should get the class for this report" do
      QBFC::Report.get_class("AuditTrail").should be(QBFC::Reports::GeneralDetail)
      QBFC::Report.get_class("PayrollSummary").should be(QBFC::Reports::PayrollSummary)
      QBFC::Report.get_class("TimeByJobDetail").should be(QBFC::Reports::Time)
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jm81-qbfc-0.3.0 spec/unit/report_spec.rb
qbfc-0.3.0 spec/unit/report_spec.rb