spec/support/spec_addons.rb in lokalise_rails-1.0.1 vs spec/support/spec_addons.rb in lokalise_rails-1.1.0
- old
+ new
@@ -1,6 +1,8 @@
+# frozen_string_literal: true
+
module SpecAddons
- def allow_project_id
+ def allow_project_id(value = '189934715f57a162257d74.88352370')
allow(LokaliseRails).to receive(:project_id).
- and_return('189934715f57a162257d74.88352370')
+ and_return(value)
end
end