Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.357 kB
<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>
Jump to Line
Something went wrong with that request. Please try again.