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