Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 357 Bytes
<snippet>
<content><![CDATA[def test_should_post_${1:action}
${3:@$2 = ${4:$2s}(:${5:fixture_name})
}post :${1}${6:, id: @$2.to_param}, ${2:model}: { $0 }
assert_response :redirect
end]]></content>
<tabTrigger>deftp</tabTrigger>
<scope>meta.rails.functional_test</scope>
<description>def test_should_post_action</description>
</snippet>
Something went wrong with that request. Please try again.