Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Story 29 (A2) #33

Closed
WillWeston94 opened this issue Sep 14, 2023 · 1 comment
Closed

User Story 29 (A2) #33

WillWeston94 opened this issue Sep 14, 2023 · 1 comment
Assignees

Comments

@WillWeston94
Copy link
Owner

  1. Admin Merchant Create

As an admin,
When I visit the admin merchants index (/admin/merchants)
I see a link to create a new merchant.
When I click on the link,
I am taken to a form that allows me to add merchant information.
When I fill out the form I click ‘Submit’
Then I am taken back to the admin merchants index page
And I see the merchant I just created displayed
And I see my merchant was created with a default status of disabled.

@WillWeston94 WillWeston94 self-assigned this Sep 14, 2023
@WillWeston94
Copy link
Owner Author

Functionality works on page and when creating new merchant via rails s but Model spec is failing

  1. Merchant instance methods default status merchant loads with default status disabled
    Failure/Error: expect(merchant.disabled).to eq(true)

    expected: true
    got: false

    (compared using ==)

    Diff:
    @@ -1 +1 @@
    -true
    +false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant