Commit 1ed857feefecba04abd2948c31f884ae757ef184

Authored by Antonio Terceiro
Committed by Victor Costa
1 parent 56b62930

api/search_test: remove extra whitespace

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
test/unit/api/search_test.rb
... ... @@ -30,11 +30,11 @@ class SearchTest < ActiveSupport::TestCase
30 30 assert_empty json['articles']
31 31 end
32 32  
33   - should 'do not list articles of wrong type' do
34   - article = fast_create(Article, :profile_id => person.id)
  33 + should 'not list articles of wrong type' do
  34 + fast_create(Article, :profile_id => person.id)
35 35 get "/api/v1/search/article?type=TinyMceArticle"
36 36 json = JSON.parse(last_response.body)
37   - assert_not_includes json['articles'].map {|a| a['id']}, article.id
  37 + assert_empty json['articles']
38 38 end
39 39  
40 40 should 'list articles of one type' do
... ...