about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-10-15 03:17:33 -0500
committerDavid Yip <yipdw@member.fsf.org>2017-10-21 14:54:36 -0500
commit4fa2f7e82d68c974ecfdb8896f15a5a3aba25828 (patch)
tree20a0cc859f0c53696ed67f1ce83e36544111cd0e /spec/helpers
parentb4b657eb1daebd1472384ff8ea1c1b9c4b313c5c (diff)
Set up /settings/keyword_mutes. #164.
This should eventually be accessible via the API and the web frontend,
but I find it easier to set up an editing interface using Rails
templates and the like.  We can always take it out if it turns out we
don't need it.
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/settings/keyword_mutes_helper_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/helpers/settings/keyword_mutes_helper_spec.rb b/spec/helpers/settings/keyword_mutes_helper_spec.rb
new file mode 100644
index 000000000..a19d518dd
--- /dev/null
+++ b/spec/helpers/settings/keyword_mutes_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the Settings::KeywordMutesHelper. For example:
+#
+# describe Settings::KeywordMutesHelper 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
+RSpec.describe Settings::KeywordMutesHelper, type: :helper do
+  pending "add some examples to (or delete) #{__FILE__}"
+end