hydra icon indicating copy to clipboard operation
hydra copied to clipboard

undefined method `run=' for Test::Unit:Module

Open thiruR opened this issue 12 years ago • 2 comments

Hii all,

I have installed the required gems for hydra and updated my rake file with the following code

Hydra::TestTask.new('hydra:unit') do |t| t.add_files 'features/step_definitions/*.rb' end

Hydra::TestTask.new('hydra:cucumber') do |t| t.add_files 'features/hydra/checkout.feature' end

task :hydra => ['hydra:unit', 'hydra:cucumber']

While i'm trying to run my rake using the command >rake hydra or >rake hydra:cucumber I am getting a error like

rake aborted! undefined method `run=' for Test::Unit:Module

Any solution ??

thiruR avatar Oct 30 '12 06:10 thiruR

Hi thiruR,

Se #56. I believe you need to install the "test-unit" gem for 1.9 support.

ngauthier avatar Oct 30 '12 16:10 ngauthier

Hi ngauthier,

I tried that too , but same result . I'm using Jruby1.7.0 ruby-1.9.3-p203 cucumber 1.2.1

Is there any compatibility issue in using Hydra??

thiruR avatar Oct 31 '12 04:10 thiruR