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) { lambda{|cb| model.find &cb }} it_should_behave_like 'a query method with multi-callback support' end end