Sha256: 8e47b1c3179cec80f0953130ddc5d5a5306a0c4b3adad30081a09f60bf5364fa

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

class MockBrickConfiguration
  attr_accessor :name, :version, :location

  def initialize(name, version, location)
    @name = name
    @version = version
    @location = location
  end

  def destination
    "#{@name}-#{@version}"
  end
end
class MockBrickLocation
  attr_accessor :method, :path
  alias_method :url, :path

  def initialize(method, path, format = 'plain')
    @method = method
    @path = path
    @format = format
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brick_and_mortar-0.1.2 spec/support/mocks.rb
brick_and_mortar-0.1.1 spec/support/mocks.rb
brick_and_mortar-0.1.0 spec/support/mocks.rb
brick_and_mortar-0.0.4 spec/support/mocks.rb
brick_and_mortar-0.0.3 spec/support/mocks.rb
brick_and_mortar-0.0.2 spec/support/mocks.rb
brick_and_mortar-0.0.1 spec/support/mocks.rb