Sha256: fedfbe60bce522f186f9a27ba801b647d0f9a8e2215710ac6138bc025befdd76

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

require 'test_helper_dummy'

module IntegrationTests
  def self.included(klass)
    klass.class_eval do

      it 'works' do
        get root_path
        status.must_equal 200
      end

      describe 'nested 1' do

        it('works') { skip }

        describe 'nested 2' do

          it('works') { skip }

        end

      end

    end    
  end
end

class IntegrationTest < ActionController::IntegrationTest
  include IntegrationTests
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-spec-rails-3.1.2 test/dummy_tests/integration_test.rb
minitest-spec-rails-3.1.1 test/dummy_tests/integration_test.rb
minitest-spec-rails-3.1.0 test/dummy_tests/integration_test.rb