Sha256: efcacf48d596db7b6cfaa75ab594474c717594fbf8982ebb7e88b397e666f2a3

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

require 'test_helper'

class RailsTestServing::ClientTest < Test::Unit::TestCase
  def setup
    @client = Object.new.extend RailsTestServing::Client
  end

  def test_run_tests
    @client.expects(:run_tests!)
    @client.run_tests

    @client.disable do
      @client.expects(:run_tests!).never
      @client.run_tests
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
Roman2K-rails-test-serving-0.1.4.1 test/rails_test_serving/client_test.rb
Roman2K-rails-test-serving-0.1.4 test/rails_test_serving/client_test.rb
rails-test-serving-0.1.4.2 test/rails_test_serving/client_test.rb