зеркало из
https://github.com/glebtv/yookassa.git
synced 2026-09-08 20:05:50 +03:00
initial commit
Этот коммит содержится в:
19
spec/spec_helper.rb
Обычный файл
19
spec/spec_helper.rb
Обычный файл
@@ -0,0 +1,19 @@
|
||||
begin
|
||||
require 'pry'
|
||||
rescue LoadError
|
||||
nil
|
||||
end
|
||||
|
||||
require 'yandex-checkout'
|
||||
require 'webmock/rspec'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.order = :random
|
||||
config.filter_run focus: true
|
||||
config.run_all_when_everything_filtered = true
|
||||
|
||||
config.around(:each) do |example|
|
||||
stub_request(:any, //)
|
||||
example.run
|
||||
end
|
||||
end
|
||||
9
spec/yandex-checkout_spec.rb
Обычный файл
9
spec/yandex-checkout_spec.rb
Обычный файл
@@ -0,0 +1,9 @@
|
||||
RSpec.describe YandexCheckout do
|
||||
it "has a version number" do
|
||||
expect(YandexCheckout::VERSION).not_to be nil
|
||||
end
|
||||
|
||||
it "does something useful" do
|
||||
expect(false).to eq(true)
|
||||
end
|
||||
end
|
||||
Ссылка в новой задаче
Block a user