Module: Barometer::Support::Matchers

Defined in:
lib/barometer/support/matchers.rb,
lib/barometer/support/matchers/walker.rb,
lib/barometer/support/matchers/formats.rb,
lib/barometer/support/matchers/have_data.rb,
lib/barometer/support/matchers/have_field.rb,
lib/barometer/support/matchers/have_forecast.rb

Defined Under Namespace

Modules: Formats Classes: HaveData, HaveField, HaveForecast, Walker

Instance Method Summary collapse

Instance Method Details

#have_data(*paths) ⇒ Object



7
8
9
# File 'lib/barometer/support/matchers/have_data.rb', line 7

def have_data(*paths)
  HaveData.new(*paths)
end

#have_field(field) ⇒ Object



6
7
8
# File 'lib/barometer/support/matchers/have_field.rb', line 6

def have_field(field)
  HaveField.new(field)
end

#have_forecast(*paths) ⇒ Object



7
8
9
# File 'lib/barometer/support/matchers/have_forecast.rb', line 7

def have_forecast(*paths)
  HaveForecast.new(*paths)
end