Sha256: 3565e18d3ff6cd6d8216eea2c6ea212860ca9f2a9ef892b2ef0bd4a92ee3d743

Contents?: true

Size: 250 Bytes

Versions: 23

Compression:

Stored size: 250 Bytes

Contents

module ControllerSpecHelpers
  def stub_scheduler(stubbed_scheduler)
    MyDashboard.config.stub(:scheduler).and_return(stubbed_scheduler)
  end

  def stub_redis(stubbed_redis)
    MyDashboard.config.stub(:redis).and_return(stubbed_redis)
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
my_dashboard-0.8.6 spec/support/controller_spec_helpers.rb
my_dashboard-0.8.5 spec/support/controller_spec_helpers.rb
my_dashboard-0.8.4 spec/support/controller_spec_helpers.rb
my_dashboard-0.8.3 spec/support/controller_spec_helpers.rb
my_dashboard-0.8.1 spec/support/controller_spec_helpers.rb
my_dashboard-0.8.0 spec/support/controller_spec_helpers.rb
my_dashboard-0.7.2 spec/support/controller_spec_helpers.rb
my_dashboard-0.7.1 spec/support/controller_spec_helpers.rb
my_dashboard-0.7.0 spec/support/controller_spec_helpers.rb
my_dashboard-0.6.0 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.10 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.9 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.8 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.7 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.6 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.5 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.4 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.3 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.2 spec/support/controller_spec_helpers.rb
my_dashboard-0.5.1 spec/support/controller_spec_helpers.rb