Sha256: e12d4b940a5e3ddffa978d1a200b9a89f0ef88683006119d6fd75139089b4001

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

# octopus_deploy_space

Describes an Octopus Deploy [Space](https://octopus.com/docs/administration/spaces) resource.

## Example

```ruby
describe octopus_deploy_space('Team Phoenix') do
  it { should exist }
  it { should have_running_task_queue }
end
```

#### Type

This type can be instantiated in several ways, depending on [how you authenticate](authentication.md).

```ruby
octopus_deploy_space(server_url, api_key, space_name)  # url and apikey provided
octopus_deploy_space(space_name)                       # using environment variables
octopus_space(server_url, api_key, space_name)
octopus_space(space_name)                              # shorthand
```

#### Matchers

| Matcher | Description |
|:--------|:------------|
| exist | test for existence of a given space |
| be_default | Tests if this space is the default space |
| have_running_task_queue | tests if the queue for this space is disabled |
| have_description(description) | tests if the space has the specified description |

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.18.1 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.18.0 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.17.3 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.17.2 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.17.1 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.17.0 docs/octopus_deploy_space.md