Commit bb45b7dd authored by Serena Fang's avatar Serena Fang

Use feature variable in spec

parent 53262f66
......@@ -495,7 +495,7 @@ RSpec.describe Namespace do
let(:subgroup) { create(:group, parent: group) }
it 'feature is not available for the subgroup' do
expect(subgroup.feature_available_non_trial?(:resource_access_token)).to be_falsey
expect(subgroup.feature_available_non_trial?(feature)).to be_falsey
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment