Merge branch 'master' of 35.155.93.82:amansharma/react-rails-rspec
Showing
... | @@ -54,6 +54,7 @@ end | ... | @@ -54,6 +54,7 @@ end |
group :test do | group :test do | ||
gem 'factory_bot_rails' | gem 'factory_bot_rails' | ||
gem 'faker' | gem 'faker' | ||
gem 'capybara' | |||
end | end | ||
... | ... |
{ | { | ||
"name": "rails_react_recipe", | "name": "rails_react_recipe", | ||
"private": true, | "private": true, | ||
"scripts": { | |||
"test": "jest", | |||
"test-watch": "jest --watch" | |||
}, | |||
"dependencies": { | "dependencies": { | ||
"@babel/preset-react": "^7.10.4", | "@babel/preset-react": "^7.10.4", | ||
"@rails/webpacker": "4.3.0", | "@rails/webpacker": "4.3.0", | ||
... | @@ -14,6 +18,12 @@ | ... | @@ -14,6 +18,12 @@ |
"react-router-dom": "^5.2.0" | "react-router-dom": "^5.2.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"jest": "^26.4.2", | |||
"webpack-dev-server": "^3.11.0" | "webpack-dev-server": "^3.11.0" | ||
}, | |||
"jest": { | |||
"roots": [ | |||
"test/javascript" | |||
] | |||
} | } | ||
} | } |
spec/factories/recipe.rb
0 → 100644
spec/features/homepage._spec.rb
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment