'Regression test for #814.'

@unittest.skipUnless(django_filters, u'django-filter    not    installed')
def test_filter_with_queryset(self):

    view = FilterFieldsQuerysetView.as_view()
    search_decimal = Decimal(u'2.25')
    request = factory.get(u'/', {u'decimal': (u'%s' % search_decimal)})
    response = view(request).render()
    assert (response.status_code == status.HTTP_200_OK)
    expected_data = [f for f in self.data if (Decimal(f[u'decimal']) == search_decimal)]
    assert (response.data == expected_data)
