Fully qualify ::Type class constant

See 0b941955.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Update HTML attr order in render resource spec

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Update HTML attr order in VersionsController spec
Use idiomatic matchers in VersionsController spec
Adapt VersionsController spec for actual template

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Revert "ugly hack to reset pk_sequences on the ci. postgres got stuck after importing fixtures.."

This hack was causing most tests to fail on Postgres with:

    ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR:  current transaction is aborted, commands ignored until end of transaction block

This reverts commit d8785a3f8645764e275f5507f6b6550ae3720a7b.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Update HTML attr order in ApplicationHelperTest

Signed-off-by: Alex Coles <alex@alexbcoles.com>