Skip to content

Commit af33fb8

Browse files
committed
Refactor: remove useless
1 parent 2f5721f commit af33fb8

3 files changed

Lines changed: 0 additions & 59 deletions

File tree

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ gemspec
88
gem 'dotenv'
99
gem 'rake', '~> 13.0'
1010
gem 'rspec', '~> 3.0'
11-
gem 'webmock'

spec/request_spec.rb

Lines changed: 0 additions & 41 deletions
This file was deleted.

spec/spec_helper.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# frozen_string_literal: true
22

33
require 'blockfrost-ruby'
4-
# require 'webmock/rspec'
5-
6-
# WebMock.disable_net_connect!(allow_localhost: true)
74

85
RSpec.configure do |config|
96
# Enable flags like --only-failures and --next-failure
@@ -18,17 +15,3 @@
1815
end
1916

2017
RSpec::Expectations.configuration.on_potential_false_positives = :nothing
21-
22-
# def stub_cardano_success_request(endpoint, response_body, project_id)
23-
# stub_request(:get, "#{CARDANO_MAINNET_URL}#{endpoint}")
24-
# .with(headers: {
25-
# 'Accept' => '*/*',
26-
# 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
27-
# 'Host' => 'cardano-mainnet.blockfrost.io',
28-
# 'Project-Id' => project_id.to_s,
29-
# 'User-Agent' => "Blockfrost-Ruby, version: #{Blockfrostruby::VERSION}"
30-
# })
31-
# .to_return(status: 200, body: response_body, headers: {
32-
# 'Content-Type' => 'application/json; charset=utf-8'
33-
# })
34-
# end

0 commit comments

Comments
 (0)