spec/net_flow_spec.rb in cradlepoint-0.1.0 vs spec/net_flow_spec.rb in cradlepoint-0.1.1

- old
+ new

@@ -9,18 +9,18 @@ describe '.get' do let(:net_flow_data) { net_flow.get } it 'should return successfully' do - net_flow_data['success'].should be_true + net_flow_data.any?.should be_true end end describe '.get_status' do let(:net_flow_status_data) { net_flow.get_status } it 'should return data successfully' do - net_flow_status_data['success'].should be_true + net_flow_status_data.any?.should be_true end end end