You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2011/07/12 23:55:00 UTC
[jira] [Commented] (BUILDR-548) RSpec 2.x broke test.using :rspec
[ https://issues.apache.org/jira/browse/BUILDR-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064175#comment-13064175 ]
Antoine Toulme commented on BUILDR-548:
---------------------------------------
The plan is to ditch JTestR now right ?
> 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
>
>
> 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