0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2020-12-04 18:06:33 +11:00
Ursprung d453d97df3
Commit be204c1cb6
2 geänderte Dateien mit 7 neuen und 9 gelöschten Zeilen

Datei anzeigen

@ -15,10 +15,6 @@ describe CustomWizard::Action do
@template = CustomWizard::Template.find('super_mega_fun_wizard') @template = CustomWizard::Template.find('super_mega_fun_wizard')
end end
context "creating a topic" do
end
context 'creating a topic' do context 'creating a topic' do
it "works" do it "works" do
wizard = CustomWizard::Builder.new(@template[:id], user).build wizard = CustomWizard::Builder.new(@template[:id], user).build

Datei anzeigen

@ -1,11 +1,13 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'simplecov' if ENV['SIMPLECOV']
require 'simplecov'
SimpleCov.start do SimpleCov.start do
root "plugins/discourse-custom-wizard" root "plugins/discourse-custom-wizard"
track_files "plugins/discourse-custom-wizard/**/*.rb" track_files "plugins/discourse-custom-wizard/**/*.rb"
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ } add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ }
end
end end
require 'rails_helper' require 'rails_helper'