Permalink
Browse files

Injection seems to only work in a source file in an approved dir

  • Loading branch information...
1 parent 5da211d commit a7e015a202082e5504b4f4caad8c5ef95153949e @jcrossley3 jcrossley3 committed Oct 23, 2012
Showing with 0 additions and 22 deletions.
  1. +0 −22 spec/injection_spec.rb
View
@@ -1,22 +0,0 @@
-require 'torquespec'
-require 'torquebox-core'
-require 'jruby'
-JRuby.objectspace = true
-
-remote_describe "injection tests" do
-
- include TorqueBox::Injectors
-
- deploy <<-END.gsub(/^ {4}/,'')
- queues:
- tweets:
- END
-
- it "should work" do
- queue = inject_queue('tweets')
- queue.publish('bar')
- queue.receive.should == 'bar'
- end
-
-end
-

0 comments on commit a7e015a

Please sign in to comment.