Sha256: 9947f021a08025cd1f4c48c4b999ddc10ca15332626ecfc2e4101ca1df67b108
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
require 'spec_helper' describe GoogleCells::CellSelector do let(:subject) do w = nil VCR.use_cassette('google_cells/spreadsheet/list') do s = GoogleCells::Spreadsheet.list.first w = s.worksheets.first end GoogleCells::CellSelector.new(w) end it { should respond_to(:min_row) } it { should respond_to(:max_row) } it { should respond_to(:min_col) } it { should respond_to(:max_col) } it { should respond_to(:worksheet) } context "default values should be derived from worksheet" do its(:min_row){ should eq 1 } its(:max_row){ should eq 100 } its(:min_col){ should eq 1 } its(:max_col){ should eq 18 } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | spec/google_cells/cell_selector_spec.rb |
google-cells-0.3.0 | spec/google_cells/cell_selector_spec.rb |