Skip to content

Commit 40cc054

Browse files
committed
Don't use send.
1 parent e489995 commit 40cc054

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/grape/api_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,19 +523,19 @@ class DummyFormatClass
523523
end
524524
end
525525

526-
send('get', 'nested')
526+
get 'nested'
527527
expect(last_response.body).to eql 'root'
528528

529-
send('get', 'nested/something')
529+
get 'nested/something'
530530
expect(last_response.body).to eql 'something'
531531

532-
send('get', 'nested/missing')
532+
get 'nested/missing'
533533
expect(last_response.body).to eql 'catch-all'
534534

535-
send('post', 'nested')
535+
post 'nested'
536536
expect(last_response.body).to eql 'catch-all'
537537

538-
send('post', 'nested/something')
538+
post 'nested/something'
539539
expect(last_response.body).to eql 'catch-all'
540540
end
541541

0 commit comments

Comments
 (0)