On 05/30/11 - 04:22:44PM, tsedovic(a)redhat.com wrote:
From: Tomas Sedovic <tsedovic(a)redhat.com>
Previously, both the RSpec and Cucumber tests for image import failed when the
Image Warehouse service was not started.
This stubs the `upload` method when the tests are running.
---
src/features/image_import.feature | 1 +
.../step_definitions/image_import_steps.rb | 5 +++++
src/spec/models/image_spec.rb | 4 ++++
3 files changed, 10 insertions(+), 0 deletions(-)
create mode 100644 src/features/step_definitions/image_import_steps.rb
Big improvement! ACK
--
Chris Lalancette