test/test_est.rb in est-0.3.1 vs test/test_est.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 TestEst < Minitest::Test def test_basic Dir.mktmpdir 'test' do |dir| opts = opts(['-v', '-d', dir]) @@ -66,10 +66,10 @@ Nokogiri::XML(Est::Base.new(opts).xml), [ '/processing-instruction("xml-stylesheet")[contains(.,".xsl")]', '/estimate/@version', '/estimate/@date', - '/estimate[total="54"]', + '/estimate[total="79"]', '/estimate/ests[count(est)=1]' ] ) end end