Skip to content
Permalink
Browse files

Install shoulda and set initial config.

  • Loading branch information...
alexventuraio committed Apr 16, 2019
1 parent 7162d35 commit ce982c6fafc7fd5a4254abc57bff923ace9811af
Showing with 13 additions and 0 deletions.
  1. +3 −0 Gemfile
  2. +3 −0 Gemfile.lock
  3. +7 −0 spec/rails_helper.rb
@@ -42,6 +42,9 @@ group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'rspec-rails', '~> 3.8', '>= 3.8.2'

group :test do
gem 'shoulda-matchers', '~> 4.0', '>= 4.0.1'
end

group :development do
@@ -162,6 +162,8 @@ GEM
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
shoulda-matchers (4.0.1)
activesupport (>= 4.2.0)
spring (2.0.2)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
@@ -210,6 +212,7 @@ DEPENDENCIES
rails (~> 5.2.3)
rspec-rails (~> 3.8, >= 3.8.2)
sass-rails (~> 5.0)
shoulda-matchers (~> 4.0, >= 4.0.1)
spring
spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5)
@@ -58,4 +58,11 @@
config.filter_rails_from_backtrace!
# arbitrary gems may also be filtered via:
# config.filter_gems_from_backtrace("gem name")

Shoulda::Matchers.configure do |config|
config.integrate do |with|
with.test_framework :rspec
with.library :rails
end
end
end

0 comments on commit ce982c6

Please sign in to comment.
You can’t perform that action at this time.