spec/readable_spec.rb in unread-0.6.2 vs spec/readable_spec.rb in unread-0.6.3

- old
+ new

@@ -155,17 +155,16 @@ }.to raise_error(ArgumentError) end end end - describe :with_read_marks_for do it "should return readables" do expect(Email.with_read_marks_for(@reader).to_a).to eq([@email1, @email2]) end it "should be countable" do - expect(Email.with_read_marks_for(@reader).count(:messageid)).to eq(2) + expect(Email.with_read_marks_for(@reader).count(:uid)).to eq(2) end it "should not allow invalid parameter" do [ 42, nil, 'foo', :foo, {} ].each do |not_a_reader| expect {