Sha256: 21751bffda95f172b00e0f014a3ba066390256169df0be99a030eaac251fa674

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

Feature: The public interface documented in the README

  @disable-bundler
  Scenario: First installation using Bundler
    Given a file named "Gemfile" with:
    """
    gem "batch_it", path: "../../"
    """
    And a file named "example.rb" with:
    """
    require 'batch_it'
    require 'ostruct'

    puts BatchIt.new(DATA.read).result([OpenStruct.new(title: "One"), OpenStruct.new(title: "Two")])
    __END__
    <%= title %>
    =
    """
    And I run `bundle install > /dev/null`
    When I successfully run `bundle exec ruby example.rb` for up to 6 seconds
    Then the output should contain:
    """
    <h1>One</h1>
    <h1>Two</h1>
    """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
batch_it-0.1.0 features/README.md.feature