fixpoints 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 458dad6937238c418302f72cb371a6ff84792bd90f5e3f7ca4ad481915dbc770
4
- data.tar.gz: 78500279e1b0c01bbf9112e94bcf94ee2c1b52cf9b9b44de75bf9a8ccb376f8f
3
+ metadata.gz: 4fc86155d7a0255ba0b6001e2d9a848820a88679faf80a009523ce169d87bb47
4
+ data.tar.gz: b05dff89ee223f26b9aaaddbe8b076b11b07d941dda4c6b25de770e833066700
5
5
  SHA512:
6
- metadata.gz: c47ceec17bf52c8f287d8a31c46592da2c41cd1c7663f2bb8d668af3f1c98c13d8b932911809f3e0ec826c1997eb9539de1fc888cc1ba8b1f7a59a3305eb33a1
7
- data.tar.gz: 8e7d0edf727a1efbf4140448cb014f2066d2bba2fb7ce2a8128956a2ccfcc4654d8d57ee6788ee7d9a81fde25fb82c19b7c77abd5e140a2df911a028e6dfe588
6
+ metadata.gz: 5d93cbb9284a2012294e880b1a4a1a2f65d5fbae6acb7a333e19de1f141ba492ecbace36e7123c78a293c0d19d018f6715f90733e9d8b98d1d56fdfde28a2643
7
+ data.tar.gz: 8564d92f6540959ff166ea5cbbd1f82a6ab4cffe839141fbf65152e6cb53a71ddfee08cc583243842120c3b6f7167523b024179015a9c6996bcf4c9640cf3fbb
@@ -32,10 +32,9 @@ module FixpointTestHelpers
32
32
 
33
33
  tables_to_compare = (database_fp.table_names + fixpoint_fp.table_names).uniq if tables_to_compare == :all
34
34
  tables_to_compare.each do |table_name|
35
- db_records = database_fp.records_for_table(table_name, ignored_columns)
36
- fp_records = fixpoint_fp.records_for_table(table_name, ignored_columns)
35
+ db_records = database_fp.records_for_table(table_name, ignored_columns) || []
36
+ fp_records = fixpoint_fp.records_for_table(table_name, ignored_columns) || []
37
37
 
38
- expect(fp_records).not_to be_empty, "#{table_name} not in fixpoint, but in database"
39
38
  # we assume that the order of records returned by SELECT is stable (so we do not do any sorting)
40
39
  expect(db_records).to eq(fp_records), "Database records for table \"#{table_name}\" did not match fixpoint \"#{fixname}\". Consider removing the fixpoint and re-running the test if the change is intended."
41
40
  end
@@ -1,3 +1,3 @@
1
1
  module Fixpoints
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixpoints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Rothe