Sha256: 99bdb4bbedb07245089faa29b77f2daec2cc3ec29dca4ec029124c9f7b12fa4c

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

require "spec_helper"

describe Guard::Rackup do
  subject { Guard::Rackup.new }
  let(:runner) { subject.runner }

  %W!run_all run_on_changes reload!.each do |method|
    it "##{method} call runner#reload" do
      runner.should_receive(:reload)
      subject.__send__(method.to_sym)
    end
  end

  it "#stop call runner#stop" do
    runner.should_receive(:stop)
    subject.stop
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-rackup-0.0.1 spec/rackup_spec.rb