|
134 | 134 | pending 'catalog-diff failed' unless @result[:exitcode] == 2 && @diffs.size == 1 |
135 | 135 | file = @diffs[0][2].split(/\n/) |
136 | 136 | expect(file).to include('my_boolean: TrueClass true') |
137 | | - expect(file).to include('my_integer: Fixnum 42') |
| 137 | + expect(file).to include('my_integer: Integer 42') |
138 | 138 | expect(file).to include('my_float: Float 3.14159') |
139 | | - expect(file).to include('my_floating_integer: Fixnum -100') |
| 139 | + expect(file).to include('my_floating_integer: Integer -100') |
140 | 140 | expect(file).to include('my_json: String "{\\"hello\\":\\"world\\"}"') |
141 | 141 | expect(file).to include('my_boolean_string: FalseClass false') |
142 | | - expect(file).to include('my_integer_string: Fixnum 42') |
| 142 | + expect(file).to include('my_integer_string: Integer 42') |
143 | 143 | expect(file).to include('my_float_string: Float 3.14159') |
144 | 144 | expect(file).to include('real_boolean: FalseClass false') |
145 | 145 | expect(file).to include('real_float: Float 3.14159') |
146 | | - expect(file).to include('real_integer: Fixnum 42') |
| 146 | + expect(file).to include('real_integer: Integer 42') |
147 | 147 | expect(file).to include('real_string: String "chicken"') |
148 | 148 | end |
149 | 149 |
|
150 | 150 | it 'should show the specified data types in the new catalog' do |
151 | 151 | pending 'catalog-diff failed' unless @result[:exitcode] == 2 && @diffs.size == 1 |
152 | 152 | file = @diffs[0][3].split(/\n/) |
153 | 153 | expect(file).to include('my_boolean: TrueClass true') |
154 | | - expect(file).to include('my_integer: Fixnum 42') |
| 154 | + expect(file).to include('my_integer: Integer 42') |
155 | 155 | expect(file).to include('my_float: Float 3.14159') |
156 | 156 | expect(file).to include('my_floating_integer: Float -100.0') |
157 | 157 | expect(file).to include('my_json: Hash {"hello"=>"world"}') |
|
160 | 160 | expect(file).to include('my_float_string: String "3.14159"') |
161 | 161 | expect(file).to include('real_boolean: FalseClass false') |
162 | 162 | expect(file).to include('real_float: Float 3.14159') |
163 | | - expect(file).to include('real_integer: Fixnum 42') |
| 163 | + expect(file).to include('real_integer: Integer 42') |
164 | 164 | expect(file).to include('real_string: String "chicken"') |
165 | 165 | end |
166 | 166 | end |
|
0 commit comments