Nenhuma Descrição http://j1x-huginn.herokuapp.com

weather_agent_spec.rb 562B

    require 'rails_helper' describe Agents::WeatherAgent do let(:agent) do Agents::WeatherAgent.create( name: 'weather', options: { :location => 94103, :lat => 37.779329, :lng => -122.41915, :api_key => 'test' } ).tap do |agent| agent.user = users(:bob) agent.save! end end it "creates a valid agent" do expect(agent).to be_valid end describe "#service" do it "doesn't have a Service object attached" do expect(agent.service).to be_nil end end end