Sha256: 0114f028314025ed6a0db5f59c2cc1087e5d02b07c54c4d7aa1965529716bc4b

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

module Factory
  class Stage
    class << self
      def build(stage, options = {})
        HerokuSan::Stage.new(
          stage,
          options.merge({api: HerokuSan::API.new(:api_key => "MOCK", mock: true)})
        )
      end

      alias :new :build
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heroku_san-4.4.0 spec/support/factory.rb
heroku_san-4.3.2 spec/support/factory.rb
heroku_san-4.3.1 spec/support/factory.rb