spec/databox_spec.rb in databox-0.1.2 vs spec/databox_spec.rb in databox-0.2.1

- old
+ new

@@ -8,6 +8,15 @@ context "DATABOX_MODE" do it { expect(ENV["DATABOX_MODE"]).to eq "test" } end + context 'configuration' do + before do + Databox.configure do |c| + c.push_token = '' + end + end + + it { expect(Databox.configuration.push_host).to match /push/ } + end end