Sha256: d3c636b1c2229e1070030406bf9de0bd4f67144fbe700886e4dbdb95d45563e2
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
require 'spec_helper' require_relative '../../../../<%= config[: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