From 430d6f5bd9f83428bf5e5a01a849a616c18685c8 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Thu, 21 Jul 2016 10:51:14 +0300 Subject: [PATCH] add missing test --- spec/unit/parser_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/unit/parser_spec.rb b/spec/unit/parser_spec.rb index 6e2fe9d..4ff4195 100644 --- a/spec/unit/parser_spec.rb +++ b/spec/unit/parser_spec.rb @@ -56,5 +56,10 @@ describe GitHubChangelogGenerator::Parser do it { is_expected.to be_a(Array) } it { is_expected.to match_array([nil, nil]) } end + context "when all args is not nil" do + subject { GitHubChangelogGenerator::Parser.user_project_from_option("skywinder/ActionSheetPicker-3.0", "blah", "https://codeclimate.com") } + it { is_expected.to be_a(Array) } + it { is_expected.to match_array([nil, nil]) } + end end end