diff --git a/spec/fstab_spec.rb b/spec/fstab_spec.rb index 31f2163..961fc89 100644 --- a/spec/fstab_spec.rb +++ b/spec/fstab_spec.rb @@ -1,10 +1,7 @@ require 'stringio' describe LinuxAdmin::FSTab do - before do - # Reset the singleton so subsequent tests get a new instance - Singleton.send :__init__, LinuxAdmin::FSTab - end + subject { described_class.dup } it "has newline, single spaces, tab" do fstab = <