Sha256: 4fe09a526b9abd4813b015eb0833bed2d90181e142b8322760c62500fceaa6b5
Contents?: true
Size: 332 Bytes
Versions: 19
Compression:
Stored size: 332 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') describe 'request lifecycle', :type => :controller do controller_name :posts it 'should automatically commit after each action' do post :create, :post => { :title => 'Test 1' } PostWithAuto.search { with :title, 'Test 1' }.results.should_not be_empty end end
Version data entries
19 entries across 19 versions & 6 rubygems