Sha256: 7334cd2c47cd3ac6e3863e49fbf74a582fc5bb4db8906a459ecee846b3813003
Contents?: true
Size: 221 Bytes
Versions: 13
Compression:
Stored size: 221 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
13 entries across 13 versions & 1 rubygems