atzorvas/ccradio

View on GitHub
test/models/user_test.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 4 of 4 total issues

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 user.role.name, "registered"
Severity: Minor
Found in test/models/user_test.rb by rubocop

Use the new Ruby 1.9 hash syntax.
Open

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

Use the new Ruby 1.9 hash syntax.
Open

user = User.create!(:email => 'user@example.com',
Severity: Minor
Found in test/models/user_test.rb by rubocop

There are no issues that match your filters.

Category
Status