netatalk-config 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/netatalk-config.rb +5 -1
- data/lib/netatalk-config/version.rb +1 -1
- data/spec/lib/netatalk-config_spec.rb +3 -1
- metadata +1 -1
data/lib/netatalk-config.rb
CHANGED
@@ -2,6 +2,8 @@ require "spec_helper"
|
|
2
2
|
require "netatalk-config"
|
3
3
|
|
4
4
|
describe NetatalkConfig do
|
5
|
+
before { NetatalkConfig.clear }
|
6
|
+
|
5
7
|
context 'no shares' do
|
6
8
|
its('afp') { should match(/\A\s*\z/) }
|
7
9
|
end
|
@@ -38,5 +40,5 @@ describe NetatalkConfig do
|
|
38
40
|
include_context 'advanced share'
|
39
41
|
its('afp') { should include("[simple]\n path = /simple/path") }
|
40
42
|
its('afp') { should include("[advanced]\n path = /advanced/path\n time machine = yes") }
|
41
|
-
end
|
43
|
+
end
|
42
44
|
end
|