aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers/refinery/blog
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2014-08-22 18:01:29 +0200
committerPhilip Arndt <p@arndt.io>2014-08-22 18:10:51 +0200
commitea67de1af385339a07d4ab4ee06f294ad5638546 (patch)
treeb62faafa73a4d8df26630703e51fe5a80fe5e2f5 /spec/helpers/refinery/blog
parent382a3790da1a1c4643ebc3a2ab895491e3bc052f (diff)
downloadrefinerycms-blog-ea67de1af385339a07d4ab4ee06f294ad5638546.tar.gz
refinerycms-blog-ea67de1af385339a07d4ab4ee06f294ad5638546.tar.bz2
refinerycms-blog-ea67de1af385339a07d4ab4ee06f294ad5638546.zip
Upgraded some testing syntax, changed to selenium for more passable results.
Diffstat (limited to 'spec/helpers/refinery/blog')
-rw-r--r--spec/helpers/refinery/blog/controller_helper_spec.rb2
-rw-r--r--spec/helpers/refinery/blog/posts_helper_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/refinery/blog/controller_helper_spec.rb b/spec/helpers/refinery/blog/controller_helper_spec.rb
index 732f2bd..b9aa6a7 100644
--- a/spec/helpers/refinery/blog/controller_helper_spec.rb
+++ b/spec/helpers/refinery/blog/controller_helper_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
module Refinery
module Blog
- describe ControllerHelper do
+ describe ControllerHelper, type: :helper do
describe "#find_tags" do
let(:tags) { helper.find_tags }
diff --git a/spec/helpers/refinery/blog/posts_helper_spec.rb b/spec/helpers/refinery/blog/posts_helper_spec.rb
index 7087bff..4a791d9 100644
--- a/spec/helpers/refinery/blog/posts_helper_spec.rb
+++ b/spec/helpers/refinery/blog/posts_helper_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
module Refinery
module Blog
describe PostsHelper do
- describe "#blog_archive_widget" do
+ describe "#blog_archive_widget", type: :helper do
let(:html) { helper.blog_archive_widget(dates) }
let(:links) { Capybara.string(html).find("#blog_archive_widget ul") }