glman 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 912abb2d82ee4c232280bed7a4d82aeb38218906
|
4
|
+
data.tar.gz: bde00d9abfe888c491ef81ef8bc5d38f3816f43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39ebf29a4224666ead5fafb8d13968dcfd4f8c7f1fd0905a1f14516e635032330588fa05cbdd3cec919d6cf061bc6bec713659b213cd1ac138c18bce4c05c40b
|
7
|
+
data.tar.gz: 8480325a9a272eca9d3cbfdd79877ae46f13430ba8c5d289606c848e4b28d4864bc070483a0ccec8a15e78cea25f110caedd89e740a89591d092f538878abc72
|
data/lib/glman.rb
CHANGED
data/lib/glman/version.rb
CHANGED
@@ -29,8 +29,8 @@ describe Glman::Commands::Configs::AliasesConfig do
|
|
29
29
|
end
|
30
30
|
|
31
31
|
let(:alias_to_delete) {'pn'}
|
32
|
-
let(:get_aliases) {{aliases: {dj
|
33
|
-
let(:set_aliases) {{dj
|
32
|
+
let(:get_aliases) {{aliases: {'dj' => 'damian@o2.pl', 'pn' => 'pawel@o2.pl'}}}
|
33
|
+
let(:set_aliases) {{'dj' => 'damian@o2.pl'}}
|
34
34
|
|
35
35
|
it 'should delete alias from existings' do
|
36
36
|
subject.delete(alias_to_delete)
|
@@ -33,7 +33,7 @@ describe Glman::Commands::Configs::UsersConfig do
|
|
33
33
|
|
34
34
|
describe '#clear' do
|
35
35
|
before(:each) {config_manager.should_receive(:set).with({ users: set_users })}
|
36
|
-
let(:set_users) {
|
36
|
+
let(:set_users) { Glman::Commands::Configs::UsersConfig::DEFAULT }
|
37
37
|
|
38
38
|
it 'should set users to default' do
|
39
39
|
subject.clear
|