Skip to content

Instantly share code, notes, and snippets.

@jarib
Created June 16, 2010 14:45
Show Gist options
  • Select an option

  • Save jarib/440795 to your computer and use it in GitHub Desktop.

Select an option

Save jarib/440795 to your computer and use it in GitHub Desktop.
# workaround for bug in cucumber 0.8.1
module Cucumber
module Ast
module FeatureElement
def source_tag_names
(@tags.tag_names + (@feature ? @feature.source_tag_names : [])).to_a.uniq
end
end
end
end
/home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/ast/feature_element.rb:65:in `source_tag_names': undefined method `uniq' for #<Java::JavaUtil::ArrayList:0x7ba614a> (NoMethodError)
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/ast/feature_element.rb:61:in `accept_hook?'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/language_support/language_methods.rb:61:in `hooks_for'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/language_support/language_methods.rb:61:in `select'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/language_support/language_methods.rb:61:in `hooks_for'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/language_support/language_methods.rb:105:in `execute_before'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/language_support/language_methods.rb:19:in `before'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/step_mother.rb:343:in `before'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/step_mother.rb:342:in `each'
... 31 levels...
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/cli/main.rb:64:in `execute!'
from /home/qaa/.bundle/jruby/1.8/gems/cucumber-0.8.1/lib/cucumber/cli/main.rb:25:in `execute'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment