Sha256: e9733b1c8ccff953919036b6f216c7cd1ec99651998b5132a8aadf738562d6ea

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

if defined?(shared_examples_for)
  shared_examples_for "freezable xml reference" do
    describe "with :frozen option" do
      it "should be frozen" do
        expect(@frozen.frozen?).to be_truthy
      end
    end

    describe "without :frozen option" do
      it "should not be frozen" do
        expect(@unfrozen.frozen?).to be_falsey
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roxml-4.2.0 spec/shared_specs.rb
roxml-4.1.1 spec/shared_specs.rb
roxml-4.1.0 spec/shared_specs.rb
roxml-4.0.0 spec/shared_specs.rb