atzorvas/ccradio

View on GitHub
test/helpers/application_helper_test.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 11 of 11 total issues

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

assert_equal bootstrap_class_for("other"), "other"

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

assert_equal bootstrap_class_for("success"), "alert-success"

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

assert_equal bootstrap_class_for("alert"), "alert-warning"

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

assert_equal bootstrap_class_for("success"), "alert-success"

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

assert_equal bootstrap_class_for("error"), "alert-danger"

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"

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("alert"), "alert-warning"

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

test "bootstrap class helper" do

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

assert_equal bootstrap_class_for("error"), "alert-danger"

There are no issues that match your filters.

Category
Status