spreadsheet_architect 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,10 @@ class ExceptionsTest < ActiveSupport::TestCase
23
23
  assert_raise error do
24
24
  SpreadsheetArchitect::Utils.get_options({freeze: {rows: 1}, freeze_headers: true}, SpreadsheetArchitect)
25
25
  end
26
+
27
+ assert_raise error do
28
+ SpreadsheetArchitect.to_csv(foo: :bar)
29
+ end
26
30
  end
27
31
 
28
32
  test "NoDataError" do
@@ -31,7 +35,7 @@ class ExceptionsTest < ActiveSupport::TestCase
31
35
  assert error.new
32
36
 
33
37
  assert_raise error do
34
- SpreadsheetArchitect.to_csv(foo: :bar)
38
+ SpreadsheetArchitect.to_csv(headers: [])
35
39
  end
36
40
  end
37
41
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet_architect
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weston Ganger