Sha256: 6f738e7abe71c6bae02257114ec3c7c34f9250646b71b177aa4a34c965c51c21

Contents?: true

Size: 665 Bytes

Versions: 15

Compression:

Stored size: 665 Bytes

Contents

module RailsEdgeTest::Printers
  class Tree
    def initialize
      @count = 0
    end

    def begin_suite
      puts ""
      puts "Generating Edges..."
      puts "-------------------"
      puts ""
    end

    def end_suite
      puts "\n#{@count} edge specs executed."
    end

    def begin_controller(controller)
      puts controller.controller_class.name
    end

    def end_controller
      puts ""
    end

    def begin_action(action)
      puts "  #{action.name}"
    end

    def end_action
    end

    def begin_edge(edge)
      print "    #{edge.description}"
    end

    def end_edge
      puts " ... done"
      @count += 1
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails_edge_test-2.1.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-2.0.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.2.3 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.2.2 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.2.1 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.2.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.1.1 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.1.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.8.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-1.0.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.7.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.6.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.5.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.4.0 lib/rails_edge_test/printers/tree.rb
rails_edge_test-0.3.0 lib/rails_edge_test/printers/tree.rb