Sha256: 53bd403f25d40d876aeb6206e120adbd2b4b9024cc58b81a2445caca8bb73918

Contents?: true

Size: 744 Bytes

Versions: 15

Compression:

Stored size: 744 Bytes

Contents

Feature: Excluding columns
  Scenario: With the :except option
    Given a class named Blog

    Given Blog has attributes title, author

    When I instantiate a Blog with {:title => "post!", :author => 'Ryan'}
    And table_print Blog, {:except => :title}
    Then the output should contain
    """
    AUTHOR
    ------
    Ryan
    """

  Scenario: By specifying columns
    Given a class named Blog

    Given Blog has attributes title, author, url

    When I instantiate a Blog with {:title => "post!", :author => 'Ryan', :url => "http://google.com"}
    And table_print Blog, [:author, :url]
    Then the output should contain
    """
    AUTHOR | URL              
    -------|------------------
    Ryan   | http://google.com
    """

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
table_print-1.5.7 features/excluding_columns.feature
table_print-1.5.6 features/excluding_columns.feature
table_print-1.5.5 features/excluding_columns.feature
table_print-1.5.4 features/excluding_columns.feature
table_print-1.5.3 features/excluding_columns.feature
table_print-1.5.2 features/excluding_columns.feature
table_print-1.5.1 features/excluding_columns.feature
table_print-1.5.0 features/excluding_columns.feature
table_print-1.4.1 features/excluding_columns.feature
table_print-1.4.0 features/excluding_columns.feature
table_print-1.3.3 features/excluding_columns.feature
table_print-1.3.2 features/excluding_columns.feature
table_print-1.3.1 features/excluding_columns.feature
table_print-1.3.0 features/excluding_columns.feature
table_print-1.2.0 features/excluding_columns.feature