mirror of
https://github.com/Fishwaldo/role_model.git
synced 2025-03-15 11:32:04 +00:00
Remove test of deleting array with 1 element
This commit is contained in:
parent
cbfe5f7625
commit
9675ed1c8f
1 changed files with 0 additions and 6 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Reference in a new issue