Spec: avoid warning when stubbing ARGV
This commit is contained in:
parent
d23375f5ac
commit
91b5abc477
|
@ -63,9 +63,10 @@ describe GitHubChangelogGenerator::Parser do
|
|||
end
|
||||
end
|
||||
describe ".fetch_user_and_project" do
|
||||
before :each do
|
||||
ARGV = ["https://github.com/skywinder/github-changelog-generator"]
|
||||
before do
|
||||
stub_const("ARGV", ["https://github.com/skywinder/github-changelog-generator"])
|
||||
end
|
||||
|
||||
context do
|
||||
let(:valid_user) { "initialized_user" }
|
||||
let(:options) { { user: valid_user } }
|
||||
|
|
Loading…
Reference in New Issue
Block a user