test/unit/test_layout.rb in thinreports-0.7.7 vs test/unit/test_layout.rb in thinreports-0.8.0

- old
+ new

@@ -1,12 +1,12 @@ # coding: utf-8 -require 'test/unit/helper' +require 'test_helper' -class ThinReports::TestLayout < MiniTest::Unit::TestCase - include ThinReports::TestHelpers - +class Thinreports::TestLayout < Minitest::Test + include Thinreports::TestHelper + def test_new - flexmock(ThinReports::Layout::Base).should_receive(:new).once - ThinReports::Layout.new('layout.tlf') + assert_instance_of Thinreports::Layout::Base, + Thinreports::Layout.new(data_file('layout_text1.tlf')) end -end \ No newline at end of file +end