From 4b23e6a69449b985c74ad797257c30250e60ec9a Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sun, 8 Jan 2017 22:08:36 -0500 Subject: Unit tests for models/action (#619) --- models/fixtures/action.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 models/fixtures/action.yml (limited to 'models/fixtures/action.yml') diff --git a/models/fixtures/action.yml b/models/fixtures/action.yml new file mode 100644 index 0000000000..f4f10dde2b --- /dev/null +++ b/models/fixtures/action.yml @@ -0,0 +1,22 @@ +- + id: 1 + user_id: 2 + op_type: 12 # close issue + act_user_id: 2 + act_user_name: user2 + repo_id: 2 + repo_user_name: user2 + repo_name: repo2 + is_private: true + +- + id: 2 + user_id: 3 + op_type: 2 # rename repo + act_user_id: 3 + act_user_name: user3 + repo_id: 3 + repo_user_name: user3 + repo_name: repo3 # TODO old or new name? + is_private: false + content: oldRepoName -- cgit v1.2.3