                    pd.to_datetime('2012-01-06'): pd.Series(['pending', 'pending', 'Customer Approval'], index=[0, 1, 2]),
                    pd.to_datetime('2012-01-07'): pd.Series(['Customer Approval', 'Customer Approval', 'Customer Approval'], index=[0, 1, 2])}

        our_jira = Metrics(config=jira_config)

        expected_frame = pd.DataFrame(expected)
        actual_frame = our_jira.cfd(until_date=date(2012, 1, 8))

        assert_frame_equal(actual_frame, expected_frame), actual_frame
