test/gravaty/parsers/test_force.rb in gravaty-9.0.1 vs test/gravaty/parsers/test_force.rb in gravaty-10.0.0

- old
+ new

@@ -1,8 +1,8 @@ #-- # gravaty -# Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani +# Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani # # This file is part of gravaty. # # gravaty is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -26,14 +26,14 @@ before do @parser = subject end - subject {Gravaty::Parsers::Force.new} + subject { Gravaty::Parsers::Force.new } [['f=y', true], ['', false]].each do |pair| it "shall return '#{pair[0]}' when parameter is '#{pair[1]}'" do - subject.parse(pair[1]).must_equal pair[0] + _(subject.parse(pair[1])).must_equal pair[0] end end end end