File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 239239 describe "with mismatched pair in --git/--github, --branch/--ref" do
240240 describe "with --git and --github" do
241241 it "throws error" do
242- bundle "add 'foo' --git x --github y" , : raise_on_error => false
242+ bundle "add 'foo' --git x --github y" , raise_on_error : false
243243
244244 expect ( err ) . to include ( "You cannot specify `--git` and `--github` at the same time." )
245245 end
246246 end
247247
248248 describe "with --branch and --ref with --git" do
249249 it "throws error" do
250- bundle "add 'foo' --branch x --ref y --git file://git" , : raise_on_error => false
250+ bundle "add 'foo' --branch x --ref y --git file://git" , raise_on_error : false
251251
252252 expect ( err ) . to include ( "You cannot specify `--branch` and `--ref` at the same time." )
253253 end
254254 end
255255
256256 describe "with --branch but without --git or --github" do
257257 it "throws error" do
258- bundle "add 'foo' --branch x" , : raise_on_error => false
258+ bundle "add 'foo' --branch x" , raise_on_error : false
259259
260260 expect ( err ) . to include ( "You cannot specify `--branch` unless `--git` or `--github` is specified." )
261261 end
262262 end
263263
264264 describe "with --ref but without --git or --github" do
265265 it "throws error" do
266- bundle "add 'foo' --ref y" , : raise_on_error => false
266+ bundle "add 'foo' --ref y" , raise_on_error : false
267267
268268 expect ( err ) . to include ( "You cannot specify `--ref` unless `--git` or `--github` is specified." )
269269 end
You can’t perform that action at this time.
0 commit comments