Home Cucumber::Ast::Table have been removed from cucumber 3.0
Reply: 0

Cucumber::Ast::Table have been removed from cucumber 3.0

user390
1#
user390 Published in April 27, 2018, 8:06 am

I have the following legacy code that no longer works with cucumber v3

/api_steps.rb

unless input.nil?
  if input.class == Cucumber::Ast::Table
    request_opts[:params] = input.rows_hash
  else
    request_opts[:input] = ERB.new(input).result(binding)
  end
end

What should I replace that with in order to run my tests with cucumber v3?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313005 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO