Sha256: 95df76d94ff6d0b4b45101aba21ae992b30cfb9115ba0b25b5c5a0ca5bbc1714
Contents?: true
Size: 367 Bytes
Versions: 6
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe GreenFlag::Admin::WhiteListUsersController do describe '#index' do subject { get :index, feature_id: 1, format: 'js' } context 'with no whitelisted users' do before(:each) do allow(GreenFlag::FeatureDecision).to receive(:whitelisted_users) { [] } end it { should be_successful } end end end
Version data entries
6 entries across 6 versions & 1 rubygems