Sha256: e4f2b3e340f80e110ee3d052a010d909d80dbb93e75033f640751b103171a9d8

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

require_relative '../spec_helper'

describe InfoController do
  let(:backend){ BackendConnection.build }

  describe 'index action' do
    it 'should get info from backend' do
      controller.stub(:backend){ backend }
      backend.should_receive(:info)
      get :index
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_monitor-0.3.3 lib/engine/spec/controllers/info_controller_spec.rb
redis_monitor-0.3.2 lib/engine/spec/controllers/info_controller_spec.rb
redis_monitor-0.3 lib/engine/spec/controllers/info_controller_spec.rb
redis_monitor-0.2.1 lib/engine/spec/controllers/info_controller_spec.rb