Sha256: 1e966ff1524a4ec25f9f0e4c2fb2e40d6ae4251a9d89d7d41f86670857cfb04b

Contents?: true

Size: 623 Bytes

Versions: 14

Compression:

Stored size: 623 Bytes

Contents

Feature: Create specs from RAML

  The example files can be found in features/support/examples

  Scenario: Generate specs from a simple RAML file
    Given a file named "foo.raml" like "empty_raml.raml"
    When I run `rambo foo.raml`
    Then the directory "spec/contract" should exist
    And the file "spec/contract/foo_spec.rb" should exist
    And the file "spec/rambo_helper.rb" should exist
    And the file "spec/rambo_helper.rb" should contain:
      """
      require "spec_helper"
      """
    And the file "spec/contract/foo_spec.rb" should be like "empty_spec.rb.example"
    And the exit status should be 0

Version data entries

14 entries across 14 versions & 1 rubygems

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