Sha256: 328d1c76054a819663031a3fbb370e586dc57a9665b09fcf74dc5b787e844818

Contents?: true

Size: 894 Bytes

Versions: 15

Compression:

Stored size: 894 Bytes

Contents

Feature: downloading files 
  In order to allow users to upload remote files
  As a developer using CarrierWave
  I want to download files to the filesystem via HTTP
  
  Background:
    Given an uploader class that uses the 'file' storage
    And an instance of that class
  
  Scenario: download a file
    When I download the file 'http://s3.amazonaws.com/Monkey/testfile.txt'
    Then there should be a file called 'testfile.txt' somewhere in a subdirectory of 'public/uploads/tmp'
    And the file called 'testfile.txt' in a subdirectory of 'public/uploads/tmp' should contain 'S3 Remote File'
  
  Scenario: downloading a file then storing
    When I download the file 'http://s3.amazonaws.com/Monkey/testfile.txt'
    And I store the file
    Then there should be a file at 'public/uploads/testfile.txt'
    And the file at 'public/uploads/testfile.txt' should contain 'S3 Remote File'

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
thorsson_carrierwave-0.4.12 features/download.feature
thorsson_carrierwave-0.4.11 features/download.feature
thorsson_carrierwave-0.4.10 features/download.feature
thorsson_carrierwave-0.4.9 features/download.feature
thorsson_carrierwave-0.4.8 features/download.feature
thorsson_carrierwave-0.4.6 features/download.feature
thorsson_carrierwave-0.4.5 features/download.feature
samlown-carrierwave-0.4.5 features/download.feature
dsturnbull-carrierwave-0.4.9 features/download.feature
dsturnbull-carrierwave-0.4.8 features/download.feature
dsturnbull-carrierwave-0.4.7 features/download.feature
carrierwave-0.4.5 features/download.feature
dsturnbull-carrierwave-0.4.6 features/download.feature
dsturnbull-carrierwave-0.4.5 features/download.feature
carrierwave-0.4.4 features/download.feature