Sha256: 77b2f98bd95f13518c9f6f3e5a1a31d16fc2ebf8b10681868838d138d559ecd8
Contents?: true
Size: 411 Bytes
Versions: 15
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' require_relative '<%= config[:relative_action_path] %>' describe <%= config[:app] %>::Controllers::<%= config[:controller] %>::<%= config[:action] %> do let(:action) { <%= config[:app] %>::Controllers::<%= config[:controller] %>::<%= config[:action] %>.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 & 2 rubygems