aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuccio Armenise <duccioarmenise@gmail.com>2014-12-08 19:00:20 +0100
committerDuccio Armenise <duccioarmenise@gmail.com>2014-12-08 19:00:20 +0100
commit8c28f99da90a0f2bdb4ac317eb92e8cd968fedf2 (patch)
treedb06c9a3c78e7910ef6ddcb50818ac8f7f8676c2
parent50c4b236da7120674589c254b05f8e78f7d7e8b4 (diff)
downloadrefinerycms-blog-8c28f99da90a0f2bdb4ac317eb92e8cd968fedf2.tar.gz
refinerycms-blog-8c28f99da90a0f2bdb4ac317eb92e8cd968fedf2.tar.bz2
refinerycms-blog-8c28f99da90a0f2bdb4ac317eb92e8cd968fedf2.zip
ru_page_title is available
-rw-r--r--spec/features/refinery/blog/admin/posts_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/refinery/blog/admin/posts_spec.rb b/spec/features/refinery/blog/admin/posts_spec.rb
index ca45fd3..230b64c 100644
--- a/spec/features/refinery/blog/admin/posts_spec.rb
+++ b/spec/features/refinery/blog/admin/posts_spec.rb
@@ -239,7 +239,7 @@ module Refinery
fill_in "Title", :with => ru_page_title
fill_in "post_body", :with => "One post in my blog"
click_button "Save"
- @p = Refinery::Blog::Post.find_by_title("Новости")
+ @p = Refinery::Blog::Post.find_by_title(ru_page_title)
end
it "succeeds" do