Sha256: ae61a369b809542e49d2c1fff918bd257835bced8acfd29cf1171d66f2babfab

Contents?: true

Size: 744 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
table_print-1.1.5 features/excluding_columns.feature
table_print-1.1.4 features/excluding_columns.feature
table_print-1.1.3 features/excluding_columns.feature
table_print-1.1.2 features/excluding_columns.feature
table_print-1.1.1 features/excluding_columns.feature
table_print-1.1.0 features/excluding_columns.feature
table_print-1.0.1 features/excluding_columns.feature
table_print-1.0.0 features/excluding_columns.feature
table_print-1.0.0.rc3 features/excluding_columns.feature