add missing test

This commit is contained in:
Petr Korolev 2016-07-21 10:51:14 +03:00
parent 4f57845465
commit 430d6f5bd9

View File

@ -56,5 +56,10 @@ describe GitHubChangelogGenerator::Parser do
it { is_expected.to be_a(Array) } it { is_expected.to be_a(Array) }
it { is_expected.to match_array([nil, nil]) } it { is_expected.to match_array([nil, nil]) }
end 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
end end