Skip to content

Commit

Permalink
Improve test coverage for googlecharts.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakriti-nith committed Feb 26, 2018
1 parent 3cb4de9 commit 76f2868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/adapters/googlecharts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
it "Table class must be GoogleVisualr::DataTable " do
expect(Daru::View::Table.new.table).to be_a GoogleVisualr::DataTable
end
it "Table class must be GoogleVisualr::DataTable when data objects are" \
" of class Daru::Vector" do
expect(Daru::View::Table.new(@data_vec1, @options).table).to be_a GoogleVisualr::DataTable
end
end
end

0 comments on commit 76f2868

Please sign in to comment.