Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

syntax fixes for 1.8

  • Loading branch information...
commit da1298e808929425c01c4e70b0a6929e27489be1 1 parent 30ca820
@rkh rkh authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/instrumentation_spec.rb
View
8 spec/instrumentation_spec.rb
@@ -10,21 +10,21 @@
it 'instruments http' do
subject.http :get, '/'
@events.size.should be == 1
- @events.first.should be == ['http.gh', :verb => :get, :url => '/', :gh => subject]
+ @events.first.should be == ['http.gh', {:verb => :get, :url => '/', :gh => subject}]
end
it 'instruments []' do
subject['/']
@events.size.should be == 2
@events.should be == [
- ['access.gh', :key => '/', :gh => subject],
- ['http.gh', :verb => :get, :url => '/', :gh => subject]
+ ['access.gh', {:key => '/', :gh => subject}],
+ ['http.gh', {:verb => :get, :url => '/', :gh => subject}]
]
end
it 'instruments load' do
subject.load("[]")
@events.size.should be == 1
- @events.first.should be == ['load.gh', :data => "[]", :gh => subject]
+ @events.first.should be == ['load.gh', {:data => "[]", :gh => subject}]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.