Commit 1b90faf9

mo khan <mo@mokhan.ca>
2014-10-19 04:10:36
adjust spec to decrease chance of failure.
1 parent 9aef65c
Changed files (1)
spec
models
spec/models/creation/repository_spec.rb
@@ -64,7 +64,7 @@ describe Creation::Repository do
     end
 
     it 'returns all cakes that match the search query' do
-      cakes = subject.search_with(q: cake.name[0..2])
+      cakes = subject.search_with(q: cake.name[0..6])
       expect(cakes).to include(cake)
       expect(cakes).to_not include(cookie)
     end