Sha256: 6b22982c5ab7ba31b1b5ef4e09974fabd7a4e0aa07ca690c666ad7d12af4c30f

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

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

    describe "without :frozen option" do
      it "should not be frozen" do
        @unfrozen.frozen?.should be_false
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roxml-3.3.1 spec/shared_specs.rb
roxml-3.3.0 spec/shared_specs.rb
roxml-3.2.2 spec/shared_specs.rb
roxml-3.2.1 spec/shared_specs.rb
roxml-3.2.0 spec/shared_specs.rb