Sha256: 2e35ecfad0e89ff93a4d1fea907d0319e1e9d8ebee9abbc1d2036109e4969cc9

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

Feature: Active Model compatibility
  In order to use forms with Rails
  As a developer
  I wish to use forms based on PR::Form that also comply with ActiveModel::Lint

  @form @active-model
  Scenario: Basic Active Model functionality
    Given I have a form I wish to use with Rails
      """Ruby
      require 'pr'
      class MyForm
        include PR::ActiveForm
      end
      """
    When I run the active model lint tests for
      """Ruby
        MyForm.new
      """

    Then it should pass

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pr-0.0.1 features/active_model_compatibility.feature