Sha256: ef1f5c3afcd674bf21d7e587cfc7ce2862280228acff345704870c3eb1b75c2a
Contents?: true
Size: 836 Bytes
Versions: 24
Compression:
Stored size: 836 Bytes
Contents
require 'spec_helper' require 'riveter/spec_helper' describe <%= class_name %>EnquiryController do render_views # This should return the minimal set of attributes required to create a valid <%= class_name %>QueryFilter. let(:valid_query_filter_attributes) { {} } # This should return the minimal set of values that should be in the session # in order to pass any filters (e.g. authentication) defined in # <%= class_name %>EnquiryController. Be sure to keep this updated. let(:valid_session) { {} } describe "GET '<%= action_name %>'" do it "assigns the enquiry" do get :<%= action_name %>, {}, valid_session assigns(:enquiry).should eq(<%= class_name %>Enquiry.new()) end end describe "POST '<%= action_name %>'" do end pending "add some examples to (or delete) #{__FILE__}" end
Version data entries
24 entries across 24 versions & 1 rubygems