decko-commons/decko

View on GitHub
mod/account/spec/set/self/signin_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use let instead of an instance variable.
Open

      expect(@card.errors[:signin].first).to match(/Wrong password/)

Use let instead of an instance variable.
Open

      @card.update! "+*email" => "schmoe@admin.com", trigger: :send_reset_password_token

Use let instead of an instance variable.
Open

      @card.update! "+*email" => "joe@admin.com",

Use let instead of an instance variable.
Open

      @card.update! "+*email" => "schmoe@admin.com",

Use let instead of an instance variable.
Open

    @card.delete

Use let instead of an instance variable.
Open

      expect(@card.errors[:email].first).to match(/not recognized/)

Use let instead of an instance variable.
Open

    rps_view = @card.format.render_reset_password_success

Use let instead of an instance variable.
Open

    edit_view = @card.format.render_edit

Use let instead of an instance variable.
Open

      expect(@card.errors[:signin].first).to match(/Unrecognized email/)

Use let instead of an instance variable.
Open

      @card.update! "+*email" => "joe@admin.com", trigger: :send_reset_password_token

Use let instead of an instance variable.
Open

      @card.update! "+*email" => "joe@admin.com",

Use let instead of an instance variable.
Open

    open_view = @card.format.render_open

There are no issues that match your filters.

Category
Status