spec/acceptance/digital_assets_spec.rb in daengine-0.6.5 vs spec/acceptance/digital_assets_spec.rb in daengine-0.6.8

- old
+ new

@@ -81,10 +81,10 @@ let(:da) {FactoryGirl.build :digital_asset, digital_asset_id: 'new-digital-asset-id'} let(:digital_asset) {da.attributes} example "insert a digital_asset if not found" do do_request() - status.should eq(200) + status.should eq(201) inserted = DigitalAsset.find('new-digital-asset-id') expect(inserted.present?).to be true end end delete "/digital_assets/:id" do