Sha256: 9d8dab4e012db740ee9653072102d3ecfa63316d8c0b93c7b4808af3ce131750

Contents?: true

Size: 502 Bytes

Versions: 7

Compression:

Stored size: 502 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

7 entries across 7 versions & 1 rubygems

Version Path
pr-1.0.0 features/active_model_compatibility.feature
pr-0.0.7 features/active_model_compatibility.feature
pr-0.0.6 features/active_model_compatibility.feature
pr-0.0.5 features/active_model_compatibility.feature
pr-0.0.4 features/active_model_compatibility.feature
pr-0.0.3 features/active_model_compatibility.feature
pr-0.0.2 features/active_model_compatibility.feature