Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote_describe bugged #8

Open
AndreasWurm opened this issue Jul 14, 2013 · 0 comments
Open

remote_describe bugged #8

AndreasWurm opened this issue Jul 14, 2013 · 0 comments

Comments

@AndreasWurm
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant