Sha256: 6e8b35bf55198dc6d41dcfe1b8573e54ca56993aabdd76575b834f45067fbc44
Contents?: true
Size: 301 Bytes
Versions: 2
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true module SpecAddons def allow_project_id(value = '189934715f57a162257d74.88352370') allow(LokaliseRails).to receive(:project_id).and_return(value) return unless block_given? yield expect(LokaliseRails).to have_received(:project_id) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lokalise_rails-2.0.0 | spec/support/spec_addons.rb |
lokalise_rails-2.0.0.rc1 | spec/support/spec_addons.rb |