Sha256: f1eb307ef8d6038cc75de191b82332f3a79c33287431dd94fcdaf37ad4948a71
Contents?: true
Size: 387 Bytes
Versions: 15
Compression:
Stored size: 387 Bytes
Contents
require_relative '../../../spec_helper' describe <%= app.classify %>::Controllers::<%= classified_controller_name %>::<%= action.classify %> do let(:action) { <%= app.classify %>::Controllers::<%= classified_controller_name %>::<%= action.classify %>.new } let(:params) { Hash[] } it 'is successful' do response = action.call(params) response[0].must_equal 200 end end
Version data entries
15 entries across 15 versions & 1 rubygems