Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

remote_describe bugged #8

@AndreasWurm

Description

@AndreasWurm

remote_describe without a name passed will result in wrong behaviour.

worker_information_spec.rb

require 'torquespec_helper'

describe WorkerInformation do
  test_descriptor = "
application:
  root: #{Rails.root}
  env: test
web:
  context: /integration_tests"

  deploy(test_descriptor)

  remote_describe do
    it "bar" do
      true.should be_true
    end
  end
end

run_queue_information_spec.rb

require 'torquespec_helper'

describe RunQueueInformation do
  test_descriptor = "
application:
  root: #{Rails.root}
  env: test
web:
  context: /integration_tests"

  deploy(test_descriptor)

  remote_describe do
    it "foo" do
      true.should be_true
    end
  end
end

Output:

RunQueueInformation
deploy /home/kane/projects/lernplattform/.torquespec/RunQueueInformation-knob.yml
deployed in 54s

    foo

WorkerInformation
deploy /home/kane/projects/lernplattform/.torquespec/WorkerInformation-knob.yml
deployed in 15s

    foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions