General functionality improvement
This commit is contained in:
@@ -30,16 +30,3 @@ step "I am signed in as a user" do
|
||||
step "I visit the user obtain token path"
|
||||
end
|
||||
|
||||
step "the other user should be added to the active list" do
|
||||
@other_user.reload
|
||||
@list.reload
|
||||
@other_user.active_list_id.should == @list.id
|
||||
@list.user_ids.should =~ [@user.id, @other_user.id]
|
||||
end
|
||||
|
||||
step "the other user should not be added to the active list" do
|
||||
@other_user.reload
|
||||
@list.reload
|
||||
@other_user.active_list_id.should be_nil
|
||||
@list.user_ids.should == [@user.id]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user