Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
Clean up tests
Dieser Commit ist enthalten in:
Ursprung
d453d97df3
Commit
be204c1cb6
2 geänderte Dateien mit 7 neuen und 9 gelöschten Zeilen
|
@ -15,10 +15,6 @@ describe CustomWizard::Action do
|
|||
@template = CustomWizard::Template.find('super_mega_fun_wizard')
|
||||
end
|
||||
|
||||
context "creating a topic" do
|
||||
|
||||
end
|
||||
|
||||
context 'creating a topic' do
|
||||
it "works" do
|
||||
wizard = CustomWizard::Builder.new(@template[:id], user).build
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'simplecov'
|
||||
if ENV['SIMPLECOV']
|
||||
require 'simplecov'
|
||||
|
||||
SimpleCov.start do
|
||||
root "plugins/discourse-custom-wizard"
|
||||
track_files "plugins/discourse-custom-wizard/**/*.rb"
|
||||
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ }
|
||||
SimpleCov.start do
|
||||
root "plugins/discourse-custom-wizard"
|
||||
track_files "plugins/discourse-custom-wizard/**/*.rb"
|
||||
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ }
|
||||
end
|
||||
end
|
||||
|
||||
require 'rails_helper'
|
Laden …
In neuem Issue referenzieren