File: regression_spec.rb

package info (click to toggle)
ruby-roxml 3.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 824 kB
  • ctags: 557
  • sloc: ruby: 4,066; xml: 1,013; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'spec_helper'

describe ROXML do
  describe 'frozen nils' do
    subject { nil }

    context 'before unmarshalling an XML document' do
      it { should_not be_frozen }
    end

    context 'after unmarshalling an XML document' do
      before do
        lib = Library.from_xml(fixture(:library))
      end

      it { should_not be_frozen }
    end
  end
end