Sha256: b9bf0a732097417ca291c5b4b7470c07202a66661880967deb3cbfe01c1277a6

Contents?: true

Size: 321 Bytes

Versions: 184

Compression:

Stored size: 321 Bytes

Contents

module Rails
  module Generators
    module Testing
      module SetupAndTeardown
        def setup # :nodoc:
          destination_root_is_set?
          ensure_current_path
          super
        end

        def teardown # :nodoc:
          ensure_current_path
          super
        end
      end
    end
  end
end

Version data entries

184 entries across 179 versions & 13 rubygems

Version Path
railties-4.2.11.3 lib/rails/generators/testing/setup_and_teardown.rb
railties-4.2.11.2 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.7 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.7.rc1 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.6.2 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.0.7.2 lib/rails/generators/testing/setup_and_teardown.rb
railties-4.2.11.1 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.6.1 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.0.7.1 lib/rails/generators/testing/setup_and_teardown.rb
railties-4.2.11 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.6 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.0.7 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.5 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.5.rc1 lib/rails/generators/testing/setup_and_teardown.rb
railties-4.2.10 lib/rails/generators/testing/setup_and_teardown.rb
railties-4.2.10.rc1 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.4 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.0.6 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.1.4.rc1 lib/rails/generators/testing/setup_and_teardown.rb
railties-5.0.6.rc1 lib/rails/generators/testing/setup_and_teardown.rb