Sha256: cc8b91a4f957cb88e7449ca0ab4f72e262ca5cb8a0faf3902ddcdffab4a48260

Contents?: true

Size: 246 Bytes

Versions: 4

Compression:

Stored size: 246 Bytes

Contents

require_relative '../spec_helper'

describe PerformanceController do
  describe 'check action' do
    it 'should get performance stats from backend' do
      PerformanceStats.any_instance.should_receive(:result)
      get :check
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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