Sha256: 9ae35b9e3ef3b533bfd71ff6b8d058871c3313744032940ce2aea05520ebcca5

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

require 'spec_helper'

module InfinityTest
  describe ContinuousTesting do
    let(:continuous_testing) { ContinuousTesting.new }
    it "should keep the application object" do
      continuous_testing.application.should equal InfinityTest.application
    end

    it "should keep the watchr object" do
      continuous_testing.watchr.should equal InfinityTest.watchr
    end

    describe '#initialize_watchr!' do

      it "should call add_signal and run_with_watchr!" do
        continuous_testing.should_receive(:add_signal)
        continuous_testing.should_receive(:run_with_watchr!)
        continuous_testing.initialize_watchr!
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
infinity_test-1.0.3 spec/infinity_test/continuous_testing_spec.rb
infinity_test-1.0.2 spec/infinity_test/continuous_testing_spec.rb
infinity_test-1.0.1 spec/infinity_test/continuous_testing_spec.rb
infinity_test-1.0.0 spec/infinity_test/continuous_testing_spec.rb