features/step_definitions/name_steps.rb in bibtex-ruby-4.4.7 vs features/step_definitions/name_steps.rb in bibtex-ruby-5.0.0

- old
+ new

@@ -4,14 +4,13 @@ When /^I parse the names "(.*)"$/ do |string| @names = BibTeX::Names.parse(string) end - Then /^the parts should be:$/ do |table| table.hashes.each do |row| assert_equal [row['first'], row['von'], row['last'], row['jr']], - [@name.first, @name.von, @name.last, @name.jr].map(&:to_s) + [@name.first, @name.von, @name.last, @name.jr].map(&:to_s) # row.each do |k,v| # assert_equal v, @name.send(k).to_s # end end end