Sha256: abe075fbc0b5e2fc9aa3b101c43e8bc1aeb9d952f18cf5fdd7fd21b29b48436e

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

# coding: utf-8

require 'test/unit/helper'

class ThinReports::TestReport < MiniTest::Unit::TestCase
  include ThinReports::TestHelpers
  
  # Alias
  Report = ThinReports::Report
  
  def test_new
    flexmock(Report::Base).should_receive(:new).once
    Report.new
  end
  
  def test_create
    flexmock(Report::Base).should_receive(:create).once
    Report.create
  end
  
  def test_generate
    flexmock(Report::Base).should_receive(:generate).once
    Report.generate
  end
  
  def test_generate_file
    flexmock(Report::Base).should_receive(:generate_file).once
    Report.generate_file
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinreports-0.6.0.pre3 test/unit/test_report.rb