spec/lib/bisu/source/google_sheet_spec.rb in bisu-1.10.1 vs spec/lib/bisu/source/google_sheet_spec.rb in bisu-1.10.2
- old
+ new
@@ -1,6 +1,6 @@
describe Bisu::Source::GoogleSheet do
- subject(:to_i18) { Bisu::Source::GoogleSheet.new(url).to_i18 }
+ subject(:to_i18) { Bisu::Source::GoogleSheet.new(url, "key name").to_i18 }
let(:url) { "https://docs.google.com/spreadsheets/d/e/2PACX-1vTm6yu_zfbxKizC-PvUE1HVFCsplmiyz0s0qLSIGeokA7KtS3BgtqaA79CsfYfPsXH6xzUaP8HDTcj8/pub?gid=0&single=true&output=csv" }
let(:response) { File.read("spec/fixtures/sample_google_response.csv") }
def stub_url(status:, response:)