Sha256: e10ab0f6eceee6c731be35b0b38fea4a5123c24cfc995fe2dffa77fece405665

Contents?: true

Size: 242 Bytes

Versions: 10

Compression:

Stored size: 242 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dashing-rails-2.5.0 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.5 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.4 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.3 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.2 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.1 spec/support/controller_spec_helpers.rb
dashing-rails-2.4.0 spec/support/controller_spec_helpers.rb
dashing-rails-2.3.2 spec/support/controller_spec_helpers.rb
dashing-rails-2.3.1 spec/support/controller_spec_helpers.rb
dashing-rails-2.3.0 spec/support/controller_spec_helpers.rb