main
 1describe Scale::Ellipse do
 2  it { expect(subject.xml_tag).to eql(:ellipse) }
 3
 4  describe "#attributes" do
 5    it "includes the x radius" do
 6      subject.rx = 10
 7      expect(subject.attributes).to include(rx: 10)
 8    end
 9
10    it "includes the y radius" do
11      subject.ry = 10
12      expect(subject.attributes).to include(ry: 10)
13    end
14
15    it 'includes the x position of the center' do
16      subject.cx = 10
17      expect(subject.attributes).to include(cx: 10)
18    end
19
20    it 'includes the y position of the center' do
21      subject.cy = 10
22      expect(subject.attributes).to include(cy: 10)
23    end
24  end
25end