+ delete :destroy, {:id => notes(:open_note_with_comment).id, :text => "This is a hide comment", :format => "json"}
+ assert_response :unauthorized
+
+ basic_authorization(users(:public_user).email, "test")
+
+ delete :destroy, {:id => notes(:open_note_with_comment).id, :text => "This is a hide comment", :format => "json"}
+ assert_response :forbidden
+
+ basic_authorization(users(:moderator_user).email, "test")
+
+ delete :destroy, {:id => notes(:open_note_with_comment).id, :text => "This is a hide comment", :format => "json"}