Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: adhearsion/adhearsion
...
head fork: adhearsion/adhearsion
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
4 spec/adhearsion/call_controller/record_spec.rb
@@ -4,7 +4,7 @@
module Adhearsion
class CallController
- describe Record, focus: true do
+ describe Record do
include CallControllerTestHelpers
describe "#record" do
@@ -64,7 +64,7 @@ class CallController
end
it 'should execute a passed block' do
- component.trigger_event_handler response
+ component.trigger_event_handler response
Timeout::timeout 5 do
@rec.pop.should be == response
end
View
1  spec/adhearsion/call_spec.rb
@@ -260,6 +260,7 @@ module Adhearsion
it "blocks until a response is received" do
slow_command = Punchblock::Command::Dial.new
+ slow_command.request!
Thread.new do
sleep 0.5
slow_command.response = response
View
2  spec/spec_helper.rb
@@ -26,6 +26,8 @@ def format(result)
adhearsion
}.each { |f| require f }
+Thread.abort_on_exception = true
+
Bundler.require(:default, :test) if defined?(Bundler)
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each { |f| require f }

No commit comments for this range

Something went wrong with that request. Please try again.