Remove test of deleting array with 1 element

This commit is contained in:
Oleg Sulyanov 2014-04-07 09:02:57 +07:00
parent cbfe5f7625
commit 9675ed1c8f

View file

@ -216,12 +216,6 @@ describe RoleModel do
subject.should have(1).roles
end
it "should delete a existing single role given as an array" do
subject.roles.delete [:foo]
expect(subject.roles).not_to include([:foo])
expect(subject).to have(1).roles
end
it "should delete existing roles given as an array of symbols" do
subject.roles.delete [:foo, :bar]
expect(subject.roles).not_to include([:foo, :bar])