From c92ede74bedda8b43df17abfe7528d3ddffe951a Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 18 Sep 2013 18:01:13 -0400 Subject: Add test for latest? Also add some fixtures for previous tests. --- spec/fixtures/git_branch_feature_bar.txt | 14 ++++++++++++++ spec/fixtures/git_branch_none.txt | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 spec/fixtures/git_branch_feature_bar.txt create mode 100644 spec/fixtures/git_branch_none.txt (limited to 'spec/fixtures') diff --git a/spec/fixtures/git_branch_feature_bar.txt b/spec/fixtures/git_branch_feature_bar.txt new file mode 100644 index 0000000..72d5e20 --- /dev/null +++ b/spec/fixtures/git_branch_feature_bar.txt @@ -0,0 +1,14 @@ + feature/foo +* feature/bar + feature/baz + feature/quux + only/local + master + refactor/foo + origin/HEAD + origin/feature/foo + origin/feature/bar + origin/feature/baz + origin/feature/quux + origin/only/remote + origin/master diff --git a/spec/fixtures/git_branch_none.txt b/spec/fixtures/git_branch_none.txt new file mode 100644 index 0000000..7207c37 --- /dev/null +++ b/spec/fixtures/git_branch_none.txt @@ -0,0 +1,15 @@ + feature/foo + feature/bar + feature/baz + feature/quux + only/local + master +* (no branch) + refactor/foo + origin/HEAD + origin/feature/foo + origin/feature/bar + origin/feature/baz + origin/feature/quux + origin/only/remote + origin/master -- cgit v1.2.3