Update naming in tests as instance methods are being referenced

This commit is contained in:
Chris Roberts 2019-04-25 10:09:50 -07:00
parent b493503e09
commit 92e6a29bfc
1 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ describe VagrantPlugins::SyncedFolderSMB::SyncedFolder do
end
end
describe ".usable?" do
describe "#usable?" do
context "without supporting capabilities" do
it "is not usable" do
expect(subject.usable?(machine)).to be(false)
@ -66,7 +66,7 @@ describe VagrantPlugins::SyncedFolderSMB::SyncedFolder do
end
end
describe ".prepare" do
describe "#prepare" do
let(:host_caps){ [:smb_start, :smb_prepare] }
context "with username credentials provided" do
@ -181,7 +181,7 @@ describe VagrantPlugins::SyncedFolderSMB::SyncedFolder do
end
end
describe ".enable" do
describe "#enable" do
it "fails when guest does not support capability" do
expect{
subject.enable(machine, folders, options)
@ -312,7 +312,7 @@ describe VagrantPlugins::SyncedFolderSMB::SyncedFolder do
end
end
describe ".cleanup" do
describe "#cleanup" do
context "without supporting capability" do
it "does nothing" do
subject.cleanup(machine, options)