Sha256: 9107e04feff47a5d28c7848e0382aac7230bef73df367123459eb460dc6d3b4e

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

module Barometer
  module Support
    module Factory
      def build_query
        double(
          :query,
          q: 'foo',
          format: :unknown,
          units: :metric,
          geo: nil,
          metric?: true
        )
      end
    end
  end
end

RSpec.configure do |config|
  config.include Barometer::Support::Factory
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
barometer-0.9.2 spec/support/query_factory.rb
barometer-0.9.1 spec/support/query_factory.rb
barometer-0.9.0 spec/support/query_factory.rb