You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2011/07/08 19:42:16 UTC

[jira] [Updated] (BUILDR-548) RSpec 2.x broke test.using :rspec

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

Alex Boisvert updated BUILDR-548:
---------------------------------

    Fix Version/s:     (was: 1.4.6)
                   1.4.7

> 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