spec/glman/commands/config/users_config_spec.rb in glman-0.1.1 vs spec/glman/commands/config/users_config_spec.rb in glman-0.1.2
- old
+ new
@@ -31,10 +31,10 @@
end
end
describe '#clear' do
before(:each) {config_manager.should_receive(:set).with({ users: set_users })}
- let(:set_users) { nil }
+ let(:set_users) { Glman::Commands::Configs::UsersConfig::DEFAULT }
it 'should set users to default' do
subject.clear
end
end