atzorvas/ccradio

View on GitHub

Showing 218 of 218 total issues

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

require "codeclimate-test-reporter"
Severity: Minor
Found in test/test_helper.rb by rubocop

Use the new Ruby 1.9 hash syntax.
Open

:password_confirmation => 'secretpass')
Severity: Minor
Found in test/models/user_test.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("notice"), "alert-info"

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("other"), "other"

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem pry-byebug should appear before pry-rails.
Open

gem 'pry-byebug'
Severity: Minor
Found in Gemfile by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal user.role.name, "registered"
Severity: Minor
Found in test/models/user_test.rb by rubocop

Line is too long. [110/80]
Open

patch :update, id: @stream, stream: { mount: @stream.mount, server: @stream.server, title: @stream.title }

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_select "#error_explanation ul li", 2

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem coffee-rails should appear before uglifier.
Open

gem 'coffee-rails', '~> 4.1.0'
Severity: Minor
Found in Gemfile by rubocop

Put empty method definitions on a single line.
Open

def edit
end

Line is too long. [94/80]
Open

flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => "Wordpress Hosted"

Use nested module/class definitions instead of compact style.
Open

class ActiveSupport::TestCase
Severity: Minor
Found in test/test_helper.rb by rubocop

Put empty method definitions on a single line.
Open

def show
end

Missing top-level class documentation comment.
Open

class ApplicationController < ActionController::Base

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

server: "http://newserver.com/",
Severity: Minor
Found in test/models/stream_test.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("notice"), "alert-info"

Line is too long. [110/80]
Open

patch :update, id: @stream, stream: { mount: @stream.mount, server: @stream.server, title: @stream.title }

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem dotenv-rails should appear before rails.
Open

gem 'dotenv-rails', require: 'dotenv/rails-now'
Severity: Minor
Found in Gemfile by rubocop

Line is too long. [91/80]
Open

format.html { redirect_to streams_url, notice: 'Stream was successfully destroyed.' }

Missing top-level class documentation comment.
Open

class StreamsController < ApplicationController
Severity
Category
Status
Source
Language