Remove already executed tasks

These tasks were executed when upgading to version 0.19, 1.0.0-beta or
1.0.0.
This commit is contained in:
Javi Martín
2019-10-08 02:52:15 +02:00
parent 8b2acc1e0a
commit 122b066573
11 changed files with 0 additions and 192 deletions

View File

@@ -1,15 +0,0 @@
require "rails_helper"
describe "rake db:pages" do
let :run_rake_task do
Rake.application.invoke_task("db:pages")
end
it "seeds the database with the default custom pages" do
SiteCustomization::Page.destroy_all
expect(SiteCustomization::Page.count).to be 0
run_rake_task
expect(SiteCustomization::Page.count).to be 7
end
end