spec/plugin_spec.rb in vagrant-shell-commander-0.3.0 vs spec/plugin_spec.rb in vagrant-shell-commander-0.3.1

- old
+ new

@@ -4,12 +4,11 @@ it 'should have a name' do expect(described_class.name).not_to be_nil end it "should define a command of type Command" do - default_command = described_class.command. - to_hash[:"sh"] - expect(default_command).to be(VagrantPlugins::ShellCommander::Command) + default_command = described_class.components.commands[:sh] + expect(default_command[1]).to eql(primary: true) end it "should define a config of type Config" do default_config = described_class.components.configs[:top].to_hash[:"sh"] expect(default_config).to be(VagrantPlugins::ShellCommander::Config)