[
https://issues.apache.org/jira/browse/DTACLOUD-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy closed DTACLOUD-293.
----------------------------------
Resolution: Fixed
Closing this issue as the client tests have been rewritten to use minitest
> Error when running client tests ('rake spec') on F17 (ruby 1.9.3)
> -----------------------------------------------------------------
>
> Key: DTACLOUD-293
> URL: https://issues.apache.org/jira/browse/DTACLOUD-293
> Project: DeltaCloud
> Issue Type: Bug
> Components: Client (Ruby)
> Environment: Fedora 17
> Ruby 1.9.3
> Deltacloud Version: f6cc95ebeba21fe8e182452b14639bf4dbbd753c
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
>
> Running 'rake spec' from the 'deltacloud/client' directory errors out:
> [root@nec-em6 deltacloud]# pwd
> /home/dcloud/workspace/deltacloud
> [root@nec-em6 deltacloud]# cd client
> [root@nec-em6 client]# rake spec
> /usr/bin/ruby -S rspec specs/images_spec.rb specs/storage_snapshot_spec.rb
> specs/keys_spec.rb specs/instance_states_spec.rb specs/instances_spec.rb
> specs/content_spec.rb specs/buckets_spec.rb specs/initialization_spec.rb
> specs/realms_spec.rb specs/storage_volume_spec.rb
> specs/hardware_profiles_spec.rb specs/errors_spec.rb --format nested --color
> /usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load
> such file -- specs/spec_helper (LoadError)
> from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
> from
> /home/dcloud/workspace/deltacloud/client/specs/images_spec.rb:20:in `<top
> (required)>'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in
> `load'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in
> `block in load_spec_files'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in
> `map'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in
> `load_spec_files'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:22:in
> `run'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in
> `run'
> from
> /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in
> `block in autorun'
> rake aborted!
> /usr/bin/ruby -S rspec specs/images_spec.rb specs/storage_snapshot_spec.rb
> specs/keys_spec.rb specs/instance_states_spec.rb specs/instances_spec.rb
> specs/content_spec.rb specs/buckets_spec.rb specs/initialization_spec.rb
> specs/realms_spec.rb specs/storage_volume_spec.rb
> specs/hardware_profiles_spec.rb specs/errors_spec.rb --format nested --color
> failed
> Tasks: TOP => spec
> (See full trace by running task with --trace)
> [root@nec-em6 client]#
> [root@nec-em6 client]# ruby -v
> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
> [root@nec-em6 client]# gem query |grep spec
> rspec (2.11.0)
> rspec-core (2.11.1)
> rspec-expectations (2.11.2)
> rspec-mocks (2.11.1)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira