Sha256: 5ce952364258056dacd93ce37f0e9f4bb7a5d92a911d1b0967c2ed23c6ed07b4
Contents?: true
Size: 354 Bytes
Versions: 4
Compression:
Stored size: 354 Bytes
Contents
require 'spec_helper' describe "<%= class_name.pluralize %>" do describe "GET /<%= table_name %>" do before :each do <% if child_model? %> <%=parent_class%>.stub(:find).with(anything()) {john_q :<%=parent_name%>} <% end %> end it "works! (now write some real specs)" do get <%= table_name %>_path end end end
Version data entries
4 entries across 4 versions & 1 rubygems