Sha256: b4ce147b1a3504487e523a67e67e22b0e282fef8e95fdda4fde04c79f8db0942

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

module RailsConnector
  module CmsTestRequest # :nodoc:
    def for_cms_object(test_obj=nil)
      # prepare the env as if the given obj was loaded by CmsEnv
      env[RailsConnector::CmsEnv::OBJ_ENV_KEY] = test_obj if test_obj
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
infopark_rails_connector-6.8.0.beta.200.663.ceecdee lib/rails_connector/cms_test_request.rb
infopark_rails_connector-6.8.0.beta.200.650.7c93155 lib/rails_connector/cms_test_request.rb