samedi 28 avril 2018

Using RSpec to test for the queue is divided into two streams

Could you help me to test the queue. I'm new comer in rails and rspec.

it "the queue should be divided into two streams" do
     Queue.all
     expect(Queue.all.split(2)).to eq(2)
   end

but it doesn't work

Aucun commentaire:

Enregistrer un commentaire