File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -184,33 +184,33 @@ def test_execute_two_version_specified_by_colon
184
184
185
185
def test_execute_version_nonexistent
186
186
spec_fetcher do |fetcher |
187
- fetcher . spec "foo " , 1
187
+ fetcher . spec "foobar " , 1
188
188
end
189
189
190
- @cmd . options [ :args ] = %w[ foo :2]
190
+ @cmd . options [ :args ] = %w[ foobar :2]
191
191
192
192
execute_with_term_error
193
193
194
194
expected = <<-EXPECTED
195
- ERROR: Could not find a valid gem 'foo ' (2) in any repository
196
- ERROR: Possible alternatives: foo
195
+ ERROR: Could not find a valid gem 'foobar ' (2) in any repository
196
+ ERROR: Possible alternatives: foobar
197
197
EXPECTED
198
198
199
199
assert_equal expected , @ui . error
200
200
end
201
201
202
202
def test_execute_nonexistent_hint_disabled
203
203
spec_fetcher do |fetcher |
204
- fetcher . spec "foo " , 1
204
+ fetcher . spec "foobar " , 1
205
205
end
206
206
207
- @cmd . options [ :args ] = %w[ foo :2]
207
+ @cmd . options [ :args ] = %w[ foobar :2]
208
208
@cmd . options [ :suggest_alternate ] = false
209
209
210
210
execute_with_term_error
211
211
212
212
expected = <<-EXPECTED
213
- ERROR: Could not find a valid gem 'foo ' (2) in any repository
213
+ ERROR: Could not find a valid gem 'foobar ' (2) in any repository
214
214
EXPECTED
215
215
216
216
assert_equal expected , @ui . error
You can’t perform that action at this time.
0 commit comments