Sha256: 1e916a2fa8b5d3a9e6591846c6230d76239ca006181c04ef702a039c17963a2e
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
require 'rails_helper' RSpec.describe "<%= class_name.pluralize %>", <%= type_metatag(:request) %> do <% namespaced_path = regular_class_path.join('/') %> <% for action in actions -%> describe "GET /<%= action %>" do it "returns http success" do get "<%= "/#{namespaced_path}" if namespaced_path != '' %>/<%= file_name %>/<%= action %>" expect(response).to have_http_status(:success) end end <% end -%> end
Version data entries
5 entries across 5 versions & 1 rubygems