Skip to content

Commit

Permalink
add spec for row record alias
Browse files Browse the repository at this point in the history
  • Loading branch information
infused committed Nov 23, 2017
1 parent fd2f32c commit 93ad7dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/dbf/table_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
expect(DBF::Table::FOXPRO_VERSIONS.keys.sort).to eq %w[30 31 f5 fb].sort
end

specify 'row is an alias of record' do
expect(table.record(1)).to eq table.row(1)
end

describe '#initialize' do
let(:data) { StringIO.new File.read(dbf_path) }
let(:memo) { StringIO.new File.read(memo_path) }
Expand Down

0 comments on commit 93ad7dc

Please sign in to comment.