Sha256: 1e9ad00a1f289c3eabb9eeddc1e015270b6f141874f63d279823e854e5397bdc
Contents?: true
Size: 411 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems