rubocop: fix various style issues.

This commit is contained in:
evazion
2019-12-22 16:21:58 -06:00
parent 09f6a84660
commit 309821bf73
288 changed files with 912 additions and 962 deletions

View File

@@ -24,7 +24,7 @@ class PostViewCountServiceTest < ActiveSupport::TestCase
setup do
subject.stubs(:fetch_rank).returns([[@post.id, 1]])
end
should "return the posts" do
posts = subject.popular_posts
assert_equal(@post.id, posts[0].id)