Commit 30272646 by Aman Sharma

Format the code of factory bot

parent 9f0a9159
...@@ -55,6 +55,8 @@ group :test do ...@@ -55,6 +55,8 @@ group :test do
gem 'factory_bot_rails' gem 'factory_bot_rails'
gem 'faker' gem 'faker'
gem 'capybara' gem 'capybara'
gem 'capybara-screenshot', '~> 1.0.11'
gem 'selenium-webdriver'
end end
......
...@@ -58,6 +58,10 @@ GEM ...@@ -58,6 +58,10 @@ GEM
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
regexp_parser (~> 1.2) regexp_parser (~> 1.2)
xpath (~> 3.2) xpath (~> 3.2)
capybara-screenshot (1.0.24)
capybara (>= 1.0, < 4)
launchy
childprocess (3.0.0)
concurrent-ruby (1.1.7) concurrent-ruby (1.1.7)
crass (1.0.6) crass (1.0.6)
diff-lcs (1.4.4) diff-lcs (1.4.4)
...@@ -77,6 +81,8 @@ GEM ...@@ -77,6 +81,8 @@ GEM
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
jbuilder (2.10.1) jbuilder (2.10.1)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
launchy (2.4.3)
addressable (~> 2.3)
listen (3.1.5) listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4) rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7) rb-inotify (~> 0.9, >= 0.9.7)
...@@ -152,6 +158,7 @@ GEM ...@@ -152,6 +158,7 @@ GEM
rspec-support (~> 3.9) rspec-support (~> 3.9)
rspec-support (3.9.3) rspec-support (3.9.3)
ruby_dep (1.5.0) ruby_dep (1.5.0)
rubyzip (1.3.0)
sass (3.7.4) sass (3.7.4)
sass-listen (~> 4.0.0) sass-listen (~> 4.0.0)
sass-listen (4.0.0) sass-listen (4.0.0)
...@@ -163,6 +170,9 @@ GEM ...@@ -163,6 +170,9 @@ GEM
sprockets (>= 2.8, < 4.0) sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0) sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3) tilt (>= 1.1, < 3)
selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2)
spring (2.0.2) spring (2.0.2)
activesupport (>= 4.2) activesupport (>= 4.2)
spring-watcher-listen (2.0.1) spring-watcher-listen (2.0.1)
...@@ -207,6 +217,7 @@ DEPENDENCIES ...@@ -207,6 +217,7 @@ DEPENDENCIES
bootsnap (>= 1.1.0) bootsnap (>= 1.1.0)
byebug byebug
capybara capybara
capybara-screenshot (~> 1.0.11)
factory_bot_rails factory_bot_rails
faker faker
jbuilder (~> 2.5) jbuilder (~> 2.5)
...@@ -216,6 +227,7 @@ DEPENDENCIES ...@@ -216,6 +227,7 @@ DEPENDENCIES
rails (~> 5.2.3) rails (~> 5.2.3)
rspec-rails (~> 4.0.1) rspec-rails (~> 4.0.1)
sass-rails (~> 5.0) sass-rails (~> 5.0)
selenium-webdriver
spring spring
spring-watcher-listen (~> 2.0.0) spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5) turbolinks (~> 5)
......
RSpec.configure do |config| RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods config.include FactoryBot::Syntax::Methods
end end
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment