Sha256: 5f6efff8d6ff0dd3b8bab8bc0fd60a0ee048f03c47fa5b855a9fceb4c287ab8d
Contents?: true
Size: 354 Bytes
Versions: 22
Compression:
Stored size: 354 Bytes
Contents
require 'spec_helper' describe Acfs::SingletonResource do let(:model) { Single } describe '.find' do before do stub_request(:get, 'http://users.example.org/singles') .to_return response id: 1 end let(:action) { ->(cb) { model.find(&cb) } } it_should_behave_like 'a query method with multi-callback support' end end
Version data entries
22 entries across 22 versions & 1 rubygems