Skip to content

Conversation

@mayankkumarji
Copy link

@mayankkumarji mayankkumarji commented May 6, 2020

Configurations

  • Ruby version 2.5.1
  • Rails version 4.2.11
  • RSpec
  • Capybara
  • Factory Bot
  • Shoulda
  • Bootstrap
  • Database Cleaner
  • rubocop

CheckList:

  • Seed 4 Customers and 20 transactions (charges)

  • Create a Visual Representation of Different Charges

  • Verify that there are three lists on the screen. (successful charges, failed charges and disputed charges.)

  • Verify that in the Successful charges list there are 10 line items. Verify that in the failed charges list there are 5 failed charges. Verify that in the disputed charges list there are failed charges.

Instriction to run app

form example-rails-challenge run

  • make set-up # to seup all dependencies
  • make up # to run the app
Run App without docker
To setup DB Run:
  • rake db:create
  • rake db:migrate
To seed customers and charges:
  • rake db:seed
Run rails app using
  • rails s
Run Test case using
  • rspec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant