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
remote_describe without a name passed will result in wrong behaviour.
worker_information_spec.rb
run_queue_information_spec.rb
Output: