This repository was archived by the owner on Jun 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
remote_describe bugged #8
Copy link
Copy link
Open
Description
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
endrun_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
endOutput:
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
Labels
No labels