We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13bafa0 commit 1e8c14dCopy full SHA for 1e8c14d
spec/models/color_schemes/seed_spec.rb
@@ -0,0 +1,17 @@
1
+require "rails_helper"
2
+
3
+RSpec.describe ColorSchemes::Seed do
4
+ describe "#seed_all" do
5
+ it "creates color scheme data and is idempotent" do
6
+ aggregate_failures do
7
+ expect {
8
+ described_class.new.seed_all
9
+ }.to change(ColorScheme, :count).by_at_least 100
10
11
12
13
+ }.not_to change(ColorScheme, :count)
14
+ end
15
16
17
+end
0 commit comments