Add empty SDG index

This commit is contained in:
Javi Martín
2020-12-19 14:11:37 +01:00
parent 46e9d2e5a9
commit de4be15a8d
20 changed files with 72 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
require 'rails_helper'
describe SDG::GoalsController do
context "featured disabled" do
before do
Setting["feature.sdg"] = false
end
it "raises feature disabled" do
expect { get :index }.to raise_exception(FeatureFlags::FeatureDisabled)
end
end
end