Sha256: 9c77f6e6ee2e6649656d3642e9d324d424c5f59f2e33e40b9c8909ce53faac45

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

require 'spec_helper'

describe GroupDocs::Signature::Field::Location do

  it_behaves_like GroupDocs::Api::Entity

  it { should have_accessor(:id)             }
  it { should have_accessor(:documentId)     }
  it { should have_accessor(:fieldId)        }
  it { should have_accessor(:page)           }
  it { should have_accessor(:locationX)      }
  it { should have_accessor(:locationY)      }
  it { should have_accessor(:locationWidth)  }
  it { should have_accessor(:locationHeight) }
  it { should have_accessor(:fontName)       }
  it { should have_accessor(:fontColor)      }
  it { should have_accessor(:fontSize)       }
  it { should have_accessor(:fontBold)       }
  it { should have_accessor(:fontItalic)     }
  it { should have_accessor(:fontUnderline)  }

  it { should alias_accessor(:document_id,     :documentId)     }
  it { should alias_accessor(:field_id,        :fieldId)        }
  it { should alias_accessor(:location_x,      :locationX)      }
  it { should alias_accessor(:x,               :locationX)      }
  it { should alias_accessor(:location_y,      :locationY)      }
  it { should alias_accessor(:y,               :locationY)      }
  it { should alias_accessor(:location_w,      :locationWidth)  }
  it { should alias_accessor(:location_width,  :locationWidth)  }
  it { should alias_accessor(:w,               :locationWidth)  }
  it { should alias_accessor(:location_h,      :locationHeight) }
  it { should alias_accessor(:location_height, :locationHeight) }
  it { should alias_accessor(:h,               :locationHeight) }
  it { should alias_accessor(:font_name,       :fontName)       }
  it { should alias_accessor(:font_color,      :fontColor)      }
  it { should alias_accessor(:font_size,       :fontSize)       }
  it { should alias_accessor(:font_bold,       :fontBold)       }
  it { should alias_accessor(:font_italic,     :fontItalic)     }
  it { should alias_accessor(:font_underline,  :fontUnderline)  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
groupdocs-2.3.0 spec/groupdocs/signature/field/location_spec.rb