1
0
зеркало из https://github.com/glebtv/yookassa.git synced 2026-09-08 20:05:50 +03:00
Этот коммит содержится в:
Andrey Paderin
2019-06-02 04:08:03 +03:00
Коммит 5b6fac0dab
15 изменённых файлов: 356 добавлений и 0 удалений

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 Обычный файл
Просмотреть файл

@@ -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