summaryrefslogtreecommitdiff
path: root/spec/ruby/optional/capi/shared/rbasic.rb
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/optional/capi/shared/rbasic.rb11
1 files changed, 9 insertions, 2 deletions
@@ -8,9 +8,16 @@ describe :rbasic, shared: true do
it "reports the appropriate FREEZE flag for the object when reading" do
obj, _ = @data.call
- (@specs.get_flags(obj) & @freeze).should == 0
obj.freeze
- (@specs.get_flags(obj) & @freeze).should == @freeze
end
it "supports retrieving the (meta)class" do