buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Toulme (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BUILDR-548) RSpec 2.x broke test.using :rspec
Date Tue, 12 Jul 2011 22:10:59 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antoine Toulme updated BUILDR-548:
----------------------------------

    Attachment: BUILDR-548-remove-jtestr.diff

Attached patch removes jtestr. Running tests to make sure nothing goes wrong.

> RSpec 2.x broke test.using :rspec
> ---------------------------------
>
>                 Key: BUILDR-548
>                 URL: https://issues.apache.org/jira/browse/BUILDR-548
>             Project: Buildr
>          Issue Type: Bug
>          Components: Test frameworks
>    Affects Versions: 1.4.3
>            Reporter: Peter Donald
>            Assignee: Alex Boisvert
>            Priority: Blocker
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-548-remove-jtestr.diff
>
>
> It looks like the upgrade to rspec 2 broke "test.using :rspec". The runner_config in
lib/buildr/java/bdd.rb:241 needs to be updated so something like
>   def runner_config
>       runner = super
>       runner.gems.update 'rspec' => '>= 2.0.1'
>       runner.requires.unshift 'rspec'
>       runner
>     end
> However the API has changed between 2.x and 1.x of rspec so the runner_content method
immediately following will not work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message