summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_specification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r--test/rubygems/test_gem_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 87f0f360d7..2c0ea770b5 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -1260,7 +1260,7 @@ dependencies: []
s.version = '1'
end
- spec.instance_variable_set :@licenses, :blah
+ spec.instance_variable_set :@licenses, Object.new.singleton_class
spec.loaded_from = '/path/to/file'
e = assert_raises Gem::FormatException do