Sha256: 1ec1ee7358b56bd4b6e5fbcc4933f0213796f6944910aa16d26e6126699b3a8d

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

require 'spec_helper'

describe GroupDocs::Document::Rectangle do

  it_behaves_like GroupDocs::Api::Entity

  it { should respond_to(:X)       }
  it { should respond_to(:X=)      }
  it { should respond_to(:Y)       }
  it { should respond_to(:Y=)      }
  it { should respond_to(:Width)   }
  it { should respond_to(:Width=)  }
  it { should respond_to(:Height)  }
  it { should respond_to(:Height=) }

  it { should have_alias(:x, :X)        }
  it { should have_alias(:x=, :X=)      }
  it { should have_alias(:y, :Y)        }
  it { should have_alias(:y=, :Y=)      }
  it { should have_alias(:w, :Width)    }
  it { should have_alias(:w=, :Width=)  }
  it { should have_alias(:width, :w)    }
  it { should have_alias(:h, :Height)   }
  it { should have_alias(:h=, :Height=) }
  it { should have_alias(:height, :h)   }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
groupdocs-1.1.0 spec/groupdocs/document/rectangle_spec.rb
groupdocs-1.0.0 spec/groupdocs/document/rectangle_spec.rb