You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If, as intended a library uses Aruba's steps, then to document the combined available steps in a feature the following step definition is required:
Then /^these steps are defined:$/ do |table|
rsc = ::Cucumber::Runtime::SupportCode.new 'ui', :autoload_code_paths => 'lib/cuken/cucumber'
rsc.load_files! ['lib/cuken/cucumber/file.rb', "#{ENV['GEM_HOME']}/gems/aruba-0.3.3/lib/aruba/cucumber.rb"]
sd_array = rsc.step_definitions
table.hashes.each do |hsh|
sd_array.each{|sd| res = sd.regexp_source == %Q{/^#{hsh['step']}$/}; break if res}
end
end
It is possible to avoid hard coding the Aruba version number, if Aruba.version returns the version string.
The text was updated successfully, but these errors were encountered:
If, as intended a library uses Aruba's steps, then to document the combined available steps in a feature the following step definition is required:
It is possible to avoid hard coding the Aruba version number, if Aruba.version returns the version string.
The text was updated successfully, but these errors were encountered: