Sha256: 440a1e802680aea9608e8e91a3b9392dd6bfd31dcdf0ad196640f7e9242432be

Contents?: true

Size: 1001 Bytes

Versions: 2

Compression:

Stored size: 1001 Bytes

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

2 entries across 2 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.19.1 docs/octopus_deploy_space.md
octopus-serverspec-extensions-0.19.0 docs/octopus_deploy_space.md