features/configuration/usage.feature in aruba-0.14.7 vs features/configuration/usage.feature in aruba-0.14.8
- old
+ new
@@ -33,16 +33,16 @@
"""ruby
require 'spec_helper'
RSpec.describe 'Run command', :type => :aruba do
context 'when fast command' do
- before(:each) { run('cli 0') }
+ before(:each) { run_command('cli 0') }
it { expect(last_command_started).to be_successfully_executed }
end
context 'when slow command' do
- before(:each) { run('cli 2') }
+ before(:each) { run_command('cli 2') }
it { expect(last_command_started).not_to be_successfully_executed }
end
end
"""
When I run `rspec`
@@ -76,20 +76,20 @@
"""ruby
require 'spec_helper'
RSpec.describe 'Run command', :type => :aruba do
context 'when fast command' do
- before(:each) { run('cli 0') }
+ before(:each) { run_command('cli 0') }
it { expect(last_command_started).to be_successfully_executed }
end
context 'when slow command and this is known by the developer', :slow_command => true do
- before(:each) { run('cli 2') }
+ before(:each) { run_command('cli 2') }
it { expect(last_command_started).to be_successfully_executed }
end
context 'when slow command, but this might be a failure' do
- before(:each) { run('cli 2') }
+ before(:each) { run_command('cli 2') }
it { expect(last_command_started).not_to be_successfully_executed }
end
end
"""
When I run `rspec`