test/test_estimate.rb in est-0.3.1 vs test/test_estimate.rb in est-0.3.2

- old
+ new

@@ -1,9 +1,9 @@ # encoding: utf-8 # -# Copyright (c) 2014 TechnoPark Corp. -# Copyright (c) 2014 Yegor Bugayenko +# Copyright (c) 2014-2016 TechnoPark Corp. +# Copyright (c) 2014-2016 Yegor Bugayenko # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -27,11 +27,11 @@ require 'tmpdir' require 'slop' # Est main module test. # Author:: Yegor Bugayenko (yegor@teamed.io) -# Copyright:: Copyright (c) 2014 Yegor Bugayenko +# Copyright:: Copyright (c) 2014-2016 Yegor Bugayenko # License:: MIT class TestEstimate < Minitest::Test def test_basic_calculation Dir.mktmpdir 'test' do |dir| file = File.join(dir, 'first.est') @@ -63,9 +63,9 @@ ''' ) estimate = Est::Estimate.new(file) assert_equal Date.parse('18-12-2014'), estimate.date assert_equal 'Jeff Lebowski', estimate.author - assert_equal 54, estimate.total + assert_equal 79, estimate.total end end end