fga-gpp-mds/2017.1-Escola-X

View on GitHub

Showing 3,213 of 3,213 total issues

Tab detected.
Open

    turnUser.send_keys "Matutino"

Tab detected.
Open

    parent_name.send_keys "Naiara Camelo"

Tab detected.
Open

    option = driver.find_element(:name, 'classroom[classroom_grade_id]')

Tab detected.
Open

    subject_name = driver.find_element(:name, 'subject[name_subject]')

Tab detected.
Open

    subject_registry.send_keys '369874'

Tab detected.
Open

    principal_admission_date = driver.find_element(:name, 'principal[admission_date]')

Tab detected.
Open

    strike_description.send_keys "Falsificou a Assinatura do colega"

Tab detected.
Open

    driver.get('http://localhost:3000/principal/2/edit')

Tab detected.
Open

    subject_name.send_keys "Arrecadar fundos pra formatura do pessoal de Softy"

Tab detected.
Open

    subject_name.send_keys "Super Gincana Beneficiente - Parte 2"

Tab detected.
Open

    principal_password = driver.find_element(:name, 'principal[password]')

Tab detected.
Open

    driver.get('http://localhost:3000/suspensions/1')

Don't use parentheses around the condition of an if.
Open

            if ( @teacher.nil? )

This cop checks for the presence of superfluous parentheses around the condition of if/unless/while/until.

Example:

# bad
x += 1 while (x < 10)
foo unless (bar || baz)

if (x > 10)
elsif (x < 3)
end

# good
x += 1 while x < 10
foo unless bar || baz

if x > 10
elsif x < 3
end

Don't use parentheses around the condition of an if.
Open

    if ( is_principal? )

This cop checks for the presence of superfluous parentheses around the condition of if/unless/while/until.

Example:

# bad
x += 1 while (x < 10)
foo unless (bar || baz)

if (x > 10)
elsif (x < 3)
end

# good
x += 1 while x < 10
foo unless bar || baz

if x > 10
elsif x < 3
end

Line is too long. [84/80]
Open

# instead of editing this one. Cucumber will automatically load all features/**/*.rb
Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [82/80]
Open

# your application behaves in the production environment, where an error page will
Severity: Minor
Found in features/support/env.rb by rubocop

Use 2 (not 1) spaces for indentation.
Open

    driver.get('http://localhost:3000/')

This cops checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end

Use 2 (not 1) spaces for indentation.
Open

    alumn_address = driver.find_element(:name, 'alumn[address]')

This cops checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end

Use 2 (not 1) spaces for indentation.
Open

    driver.get('http://localhost:3000/alumns')

This cops checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end

Use 2 (not 1) spaces for indentation.
Open

    driver.get('http://localhost:3000/alumns/1/strikes/new')

This cops checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end
Severity
Category
Status
Source
Language