Sha256: 631061907a92c69525a6a7c468bafb4bc7059a28ea9851fa0a5244a725848c20
Contents?: true
Size: 222 Bytes
Versions: 3
Compression:
Stored size: 222 Bytes
Contents
require 'spec_helper' describe 'expect_json lambda' do it 'should invoke proc passed in' do mock_get('simple_get') get '/simple_get' expect_json({name: -> (name){expect(name.length).to eq(4)}}) end end
Version data entries
3 entries across 3 versions & 1 rubygems