Sha256: 87f44260c47b0bbc04ce01f2ae818f3ca121163ad5f0239e1d39167c501b99e6
Contents?: true
Size: 579 Bytes
Versions: 14
Compression:
Stored size: 579 Bytes
Contents
# $LOAD_PATH << File.dirname(__FILE__) # # require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper' # # describe 'A Persevere adapter' do # # before do # @adapter = DataMapper::Repository.adapters[:default] # end # # describe 'when deleting an existing resource' do # before do # @book = Book.new(:title => 'Hello, World!', :author => 'Anonymous') # @book.stub!(:new_record?).and_return(false) # end # # it 'should do an HTTP DELETE' do # @adapter.should_receive(:delete) # @book.destroy # end # # end # end
Version data entries
14 entries across 14 versions & 1 rubygems