Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rake db:seed が例外を吐かないことをテストする
# 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