lib/do_snapshot/rspec/uri_helpers.rb
# frozen_string_literal: true
module DoSnapshot
module RSpec
module UriHelpers # rubocop:disable Style/Documentation
extend ::RSpec::Core::SharedContext
let(:droplet_url) { url_with_id(droplet_find_uri, droplet_id) }
let(:droplet_stop_url) { url_with_id(droplet_stop_uri, droplet_id) }
let(:droplet_start_url) { url_with_id(droplet_start_uri, droplet_id) }
let(:event_find_url) { url_with_id(event_find_uri, event_id) }
let(:image_destroy_url) { url_with_id(image_destroy_uri, image_id) }
let(:image_destroy2_url) { url_with_id(image_destroy_uri, image_id2) }
let(:action_find_url) { url_with_id(action_find_uri, event_id) }
let(:droplet_snapshot_url) { url_with_id_name(snapshot_uri, droplet_id, snapshot_name) }
end
end
end