Created
May 23, 2021 12:51
-
-
Save alpaca-tc/bf739f3806e7ed672ac01fd7730edbd3 to your computer and use it in GitHub Desktop.
rake db:seed が例外を吐かないことをテストする
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
# frozen_string_literal: true | |
RSpec.describe 'rake db:seed' do | |
it 'works fine' do | |
expect { load('db/seeds.rb') }.to_not raise_error | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment