-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Factorybot #1197
Merged
Merged
Add Factorybot #1197
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
738f104
Update gems
dks17 7cf90bc
Add factories
dks17 0c81bab
Put test routes in the module
dks17 cae0823
Remove all fixtures
dks17 96a7dbb
Remove test/integration
dks17 9e9a8aa
Remove unnecessary users
dks17 7ad0efd
Update test_helper
dks17 26b9a4c
Fix test/models
dks17 c6797ff
Fix test/controllers/custom
dks17 7d4fc9b
Fix test/controllers/demo*
dks17 dd43c95
Fix test/controllers/devise_token_auth
dks17 915812c
Fix test/controllers/overrides
dks17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by Appraisal | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gem 'mysql2', '~> 0.4.10' | ||
gem 'pg', '~> 0.21' | ||
gem 'rails', '~> 4.2.10' | ||
gem "mysql2", "~> 0.4.10" | ||
gem "pg", "~> 0.21" | ||
gem "rails", "~> 4.2.10" | ||
|
||
group :development, :test do | ||
gem 'attr_encrypted' | ||
gem 'figaro', git: 'https://github.com/laserlemon/figaro' | ||
gem 'omniauth-facebook', git: 'https://github.com/mkdynamic/omniauth-facebook' | ||
gem 'omniauth-github', git: 'https://github.com/intridea/omniauth-github' | ||
gem 'omniauth-google-oauth2', git: 'https://github.com/zquestz/omniauth-google-oauth2' | ||
gem 'rack-cors', require: 'rack/cors' | ||
gem 'thor' | ||
gem 'faker' | ||
gem 'fuzz_ball' | ||
gem 'guard' | ||
gem 'guard-minitest' | ||
gem 'minitest' | ||
gem 'minitest-focus' | ||
gem 'minitest-rails' | ||
gem 'minitest-reporters' | ||
gem 'mocha', '>= 1.5' | ||
gem 'pry' | ||
gem 'pry-remote' | ||
|
||
gem 'rubocop', require: false | ||
gem "attr_encrypted" | ||
gem "figaro", git: "https://github.com/laserlemon/figaro" | ||
gem "omniauth-facebook", git: "https://github.com/mkdynamic/omniauth-facebook" | ||
gem "omniauth-github", git: "https://github.com/intridea/omniauth-github" | ||
gem "omniauth-google-oauth2", git: "https://github.com/zquestz/omniauth-google-oauth2" | ||
gem "rack-cors", require: "rack/cors" | ||
gem "thor" | ||
gem "factory_bot_rails" | ||
gem "faker" | ||
gem "fuzz_ball" | ||
gem "guard" | ||
gem "guard-minitest" | ||
gem "minitest" | ||
gem "minitest-focus" | ||
gem "minitest-rails" | ||
gem "minitest-reporters", "1.1.18" | ||
gem "mocha", ">= 1.5" | ||
gem "pry" | ||
gem "pry-byebug" | ||
gem "pry-remote" | ||
gem "rubocop", require: false | ||
end | ||
|
||
group :test do | ||
gem 'codeclimate-test-reporter', require: nil | ||
gem 'rails-controller-testing' | ||
gem "codeclimate-test-reporter", require: nil | ||
gem "rails-controller-testing" | ||
end | ||
|
||
group :development do | ||
gem 'github_changelog_generator' | ||
gem "github_changelog_generator" | ||
end | ||
|
||
gemspec path: '../' | ||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,40 @@ | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by Appraisal | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gem 'rails', '~> 5.0.7' | ||
gem "rails", "~> 5.0.7" | ||
|
||
group :development, :test do | ||
gem 'attr_encrypted' | ||
gem 'figaro', git: 'https://github.com/laserlemon/figaro' | ||
gem 'omniauth-facebook', git: 'https://github.com/mkdynamic/omniauth-facebook' | ||
gem 'omniauth-github', git: 'https://github.com/intridea/omniauth-github' | ||
gem 'omniauth-google-oauth2', git: 'https://github.com/zquestz/omniauth-google-oauth2' | ||
gem 'rack-cors', require: 'rack/cors' | ||
gem 'thor' | ||
gem 'faker' | ||
gem 'fuzz_ball' | ||
gem 'guard' | ||
gem 'guard-minitest' | ||
gem 'minitest' | ||
gem 'minitest-focus' | ||
gem 'minitest-rails' | ||
gem 'minitest-reporters' | ||
gem 'mocha', '>= 1.5' | ||
gem 'pry' | ||
gem 'pry-remote' | ||
|
||
gem 'rubocop', require: false | ||
gem "attr_encrypted" | ||
gem "figaro", git: "https://github.com/laserlemon/figaro" | ||
gem "omniauth-facebook", git: "https://github.com/mkdynamic/omniauth-facebook" | ||
gem "omniauth-github", git: "https://github.com/intridea/omniauth-github" | ||
gem "omniauth-google-oauth2", git: "https://github.com/zquestz/omniauth-google-oauth2" | ||
gem "rack-cors", require: "rack/cors" | ||
gem "thor" | ||
gem "factory_bot_rails" | ||
gem "faker" | ||
gem "fuzz_ball" | ||
gem "guard" | ||
gem "guard-minitest" | ||
gem "minitest" | ||
gem "minitest-focus" | ||
gem "minitest-rails" | ||
gem "minitest-reporters", "1.1.18" | ||
gem "mocha", ">= 1.5" | ||
gem "pry" | ||
gem "pry-byebug" | ||
gem "pry-remote" | ||
gem "rubocop", require: false | ||
end | ||
|
||
group :test do | ||
gem 'codeclimate-test-reporter', require: nil | ||
gem 'rails-controller-testing' | ||
gem "codeclimate-test-reporter", require: nil | ||
gem "rails-controller-testing" | ||
end | ||
|
||
group :development do | ||
gem 'github_changelog_generator' | ||
gem "github_changelog_generator" | ||
end | ||
|
||
gemspec path: '../' | ||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,40 @@ | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by Appraisal | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gem 'rails', '~> 5.1.6' | ||
gem "rails", "~> 5.1.6" | ||
|
||
group :development, :test do | ||
gem 'attr_encrypted' | ||
gem 'figaro', git: 'https://github.com/laserlemon/figaro' | ||
gem 'omniauth-facebook', git: 'https://github.com/mkdynamic/omniauth-facebook' | ||
gem 'omniauth-github', git: 'https://github.com/intridea/omniauth-github' | ||
gem 'omniauth-google-oauth2', git: 'https://github.com/zquestz/omniauth-google-oauth2' | ||
gem 'rack-cors', require: 'rack/cors' | ||
gem 'thor' | ||
gem 'faker' | ||
gem 'fuzz_ball' | ||
gem 'guard' | ||
gem 'guard-minitest' | ||
gem 'minitest' | ||
gem 'minitest-focus' | ||
gem 'minitest-rails' | ||
gem 'minitest-reporters' | ||
gem 'mocha', '>= 1.5' | ||
gem 'pry' | ||
gem 'pry-remote' | ||
|
||
gem 'rubocop', require: false | ||
gem "attr_encrypted" | ||
gem "figaro", git: "https://github.com/laserlemon/figaro" | ||
gem "omniauth-facebook", git: "https://github.com/mkdynamic/omniauth-facebook" | ||
gem "omniauth-github", git: "https://github.com/intridea/omniauth-github" | ||
gem "omniauth-google-oauth2", git: "https://github.com/zquestz/omniauth-google-oauth2" | ||
gem "rack-cors", require: "rack/cors" | ||
gem "thor" | ||
gem "factory_bot_rails" | ||
gem "faker" | ||
gem "fuzz_ball" | ||
gem "guard" | ||
gem "guard-minitest" | ||
gem "minitest" | ||
gem "minitest-focus" | ||
gem "minitest-rails" | ||
gem "minitest-reporters", "1.1.18" | ||
gem "mocha", ">= 1.5" | ||
gem "pry" | ||
gem "pry-byebug" | ||
gem "pry-remote" | ||
gem "rubocop", require: false | ||
end | ||
|
||
group :test do | ||
gem 'codeclimate-test-reporter', require: nil | ||
gem 'rails-controller-testing' | ||
gem "codeclimate-test-reporter", require: nil | ||
gem "rails-controller-testing" | ||
end | ||
|
||
group :development do | ||
gem 'github_changelog_generator' | ||
gem "github_changelog_generator" | ||
end | ||
|
||
gemspec path: '../' | ||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why going back with double quotes? we fixed this with rubocop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bundle exec appraisal install
generates gem sets. I think the command is the reason. I could replace double quotes with editor. What do you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well if it will happen all the time due to be autogenerated, leave as it is. I will continue reviewing this