spec/testing/data_stub_spec.rb in remi-0.2.42 vs spec/testing/data_stub_spec.rb in remi-0.3.0

- old
+ new

@@ -135,14 +135,16 @@ end end context 'stubbed dataframe data' do - let(:stub_tester) do - StubTester.new(fields: { + let(:stub_tester) { StubTester.new } + + before do + stub_tester.fields = { my_date: { type: :date, in_format: '%m/%d/%Y' }, my_str: {} - }) + } end context '#empty_stub_df' do before { stub_tester.empty_stub_df }