base_spec: remove unneeded local var

This commit is contained in:
jonatack 2015-02-02 16:54:46 +01:00
parent d7a942c1c6
commit 10b023cf02
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ module Ransack
end
it "should function correctly when passing an array of strings" do
p = Person.create!(name: Person.first.id.to_s)
Person.create!(name: Person.first.id.to_s)
s = Person.ransack(array_names_in: true)
expect(s.result.count).to be > 0
end