Skip to content

Commit b5bc986

Browse files
committed
Add Capybara/Rails to the project
1 parent 81667b7 commit b5bc986

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ group :development, :test do
5959
gem 'shoulda-matchers'
6060
gem 'steak'
6161
gem 'timecop'
62+
gem 'capybara-rails'
6263

6364
gem 'pry'
6465
gem 'pry-byebug'

Gemfile.lock

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ GEM
6262
rack (>= 1.0.0)
6363
rack-test (>= 0.5.4)
6464
xpath (~> 2.0)
65+
capybara-console (0.0.4)
66+
capybara
67+
rails (>= 3.0)
68+
capybara-rails (0.0.2)
69+
capybara
70+
capybara-console
71+
database_cleaner
72+
exception_notification
6573
carrierwave (0.10.0)
6674
activemodel (>= 3.2.0)
6775
activesupport (>= 3.2.0)
@@ -90,6 +98,7 @@ GEM
9098
compass (>= 0.12.2)
9199
connection_pool (2.2.0)
92100
daemons (1.2.3)
101+
database_cleaner (1.4.1)
93102
devise (3.5.1)
94103
bcrypt (~> 3.0)
95104
orm_adapter (~> 0.1)
@@ -106,6 +115,9 @@ GEM
106115
erubis (2.7.0)
107116
escape (0.0.4)
108117
eventmachine (1.0.7)
118+
exception_notification (4.1.1)
119+
actionmailer (>= 3.0.4)
120+
activesupport (>= 3.0.4)
109121
excon (0.45.4)
110122
execjs (2.5.2)
111123
factory_girl (4.5.0)
@@ -417,6 +429,7 @@ PLATFORMS
417429

418430
DEPENDENCIES
419431
cancan
432+
capybara-rails
420433
carrierwave
421434
carrierwave_backgrounder
422435
coffee-rails (~> 4.0.0)

config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
config.action_controller.perform_caching = false
2222

2323
# Raise exceptions instead of rendering exception templates.
24-
config.action_dispatch.show_exceptions = false
24+
config.action_dispatch.show_exceptions = true
2525

2626
# Disable request forgery protection in test environment.
2727
config.action_controller.allow_forgery_protection = false

0 commit comments

Comments
 (0)