~ubuntu-branches/ubuntu/utopic/ruby-database-cleaner/utopic-proposed

« back to all changes in this revision

Viewing changes to features/cleaning_multiple_dbs.feature

  • Committer: Package Import Robot
  • Author(s): Pirate Praveen
  • Date: 2014-05-24 01:23:06 UTC
  • Revision ID: package-import@ubuntu.com-20140524012306-1nn3zh7s867f2gn9
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Feature: multiple database cleaning
 
2
  In order to ease example and feature writing
 
3
  As a developer
 
4
  I want to have my databases in a clean state
 
5
 
 
6
  Scenario Outline: ruby app
 
7
    Given I am using <ORM>
 
8
    And the <Strategy> cleaning strategy
 
9
 
 
10
    When I run my scenarios that rely on clean databases
 
11
    Then I should see all green
 
12
 
 
13
  Examples:
 
14
  | ORM          | Strategy      |
 
15
  | ActiveRecord | truncation    |
 
16
  | ActiveRecord | deletion      |
 
17
  | DataMapper   | truncation    |
 
18
  | MongoMapper  | truncation    |
 
19
  | DataMapper   | transaction   |
 
20
  | ActiveRecord | transaction   |