Sha256: a6b729a75d64b98e66534e26b3c26a034f8c8096be119e02f7dbd5d9b2b50602

Contents?: true

Size: 755 Bytes

Versions: 14

Compression:

Stored size: 755 Bytes

Contents

Feature: Generate simple API specs

  Scenario: Route with example
    Given a file named "foo.raml" like "basic_raml_with_example.raml"
    When I run `rambo foo.raml`
    Then the file "spec/contract/foo_spec.rb" should be like "simple_spec_file_with_example.rb.example"
    And the file "spec/support/examples/authors_response_body.json" should be like "basic_raml_with_example_response.json"

  Scenario: Route with schema
    Given a file named "foo.raml" like "basic_raml_with_schema.raml"
    When I run `rambo foo.raml`
    Then the file "spec/contract/foo_spec.rb" should be like "simple_spec_file_with_schema.rb.example"
    And the file "spec/support/examples/authors_response_schema.json" should be like "basic_raml_with_schema_response.json"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rambo_ruby-0.7.1 features/generate_simple_api_specs.feature
rambo_ruby-0.7.0 features/generate_simple_api_specs.feature
rambo_ruby-0.6.0 features/generate_simple_api_specs.feature
rambo_ruby-0.5.0 features/generate_simple_api_specs.feature
rambo_ruby-0.4.0 features/generate_simple_api_specs.feature
rambo_ruby-0.3.3 features/generate_simple_api_specs.feature
rambo_ruby-0.3.2 features/generate_simple_api_specs.feature
rambo_ruby-0.3.1 features/generate_simple_api_specs.feature
rambo_ruby-0.3.0 features/generate_simple_api_specs.feature
rambo_ruby-0.2.3 features/generate_simple_api_specs.feature
rambo_ruby-0.2.2 features/generate_simple_api_specs.feature
rambo_ruby-0.2.1 features/generate_simple_api_specs.feature
rambo_ruby-0.2.0 features/generate_simple_api_specs.feature
rambo_ruby-0.1.0 features/generate_simple_api_specs.feature