diff options
author | ytti <saku@ytti.fi> | 2018-04-20 02:21:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 02:21:29 +0300 |
commit | c761c4eb8825c06155127be61f0789073fc507f7 (patch) | |
tree | 42107c1d4634cc3e82b5fdb289c766c84b7214b9 /spec/node_spec.rb | |
parent | 234199264146bcd19f6949efbe122d62346dbdff (diff) | |
parent | 9ed50b5de4be4ae49c381fd539b9184631958d5b (diff) |
Merge pull request #1288 from wk/tidy-up-tests
tidy up tests with rubocop
Diffstat (limited to 'spec/node_spec.rb')
-rw-r--r-- | spec/node_spec.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 829e05a..f769751 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -14,7 +14,6 @@ describe Oxidized::Node do username: 'alma', password: 'armud', prompt: 'test_prompt') - end describe '#new' do @@ -39,7 +38,7 @@ describe Oxidized::Node do it 'should fetch the configuration' do stub_oxidized_ssh - status, _ = @node.run + status, = @node.run status.must_equal :success end end @@ -52,9 +51,9 @@ describe Oxidized::Node do let(:group) { nil } let(:node) do - Oxidized::Node.new({ + Oxidized::Node.new( ip: '127.0.0.1', group: group, model: 'junos' - }) + ) end it 'when there are no groups' do |