houdini/lib/templates/rspec/helper/helper_spec.rb.tt

22 lines
696 B
Text
Raw Normal View History

2020-05-01 19:28:55 +00:00
# frozen_string_literal: true
2020-06-12 20:03:43 +00:00
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
2020-05-01 19:28:55 +00:00
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the <%= class_name %>Helper. For example:
#
# describe <%= class_name %>Helper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
<% module_namespacing do -%>
RSpec.describe <%= class_name %>Helper, <%= type_metatag(:helper) %> do
pending "add some examples to (or delete) #{__FILE__}"
end
<% end -%>