spec/groupdocs/document/rectangle_spec.rb in groupdocs-0.2.2 vs spec/groupdocs/document/rectangle_spec.rb in groupdocs-0.2.3
- old
+ new
@@ -18,17 +18,21 @@
subject.should respond_to(:x=)
subject.should respond_to(:y)
subject.should respond_to(:y=)
subject.should respond_to(:w)
subject.should respond_to(:w=)
+ subject.should respond_to(:width)
subject.should respond_to(:h)
subject.should respond_to(:h=)
- subject.method(:x).should == subject.method(:X)
- subject.method(:x=).should == subject.method(:X=)
- subject.method(:y).should == subject.method(:Y)
- subject.method(:y=).should == subject.method(:Y=)
- subject.method(:w).should == subject.method(:Width)
- subject.method(:w=).should == subject.method(:Width=)
- subject.method(:h).should == subject.method(:Height)
- subject.method(:h=).should == subject.method(:Height=)
+ subject.should respond_to(:height)
+ subject.method(:x).should == subject.method(:X)
+ subject.method(:x=).should == subject.method(:X=)
+ subject.method(:y).should == subject.method(:Y)
+ subject.method(:y=).should == subject.method(:Y=)
+ subject.method(:w).should == subject.method(:Width)
+ subject.method(:w=).should == subject.method(:Width=)
+ subject.method(:width).should == subject.method(:w)
+ subject.method(:h).should == subject.method(:Height)
+ subject.method(:h=).should == subject.method(:Height=)
+ subject.method(:height).should == subject.method(:h)
end
end