features/api/filesystem/disk_usage.feature in aruba-0.9.0.pre vs features/api/filesystem/disk_usage.feature in aruba-0.9.0.pre2
- old
+ new
@@ -1,5 +1,6 @@
+@unsupported-on-ruby-older-19
Feature: Report disk usage
Sometimes you need to check, what amount of disk space a file consumes. We do
NOT support "directories" with `#disk_usage`. This does not work reliably
over different systems. Here can help `'#disk_usage`. But be careful, by
@@ -19,11 +20,11 @@
Background:
Given I use a fixture named "cli-app"
Scenario: Show disk usage for file
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file) { 'file.txt' }
@@ -42,11 +43,11 @@
Scenario: Show disk usage for multiple files
`#disk_usage` creates the sum of all given objects' sizes.
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file1) { 'file1.txt' }
let(:file2) { 'file2.txt' }
@@ -65,11 +66,11 @@
When I run `rspec`
Then the specs should all pass
Scenario: Convert reported disk usage to KibiByte
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file) { 'file.txt' }
@@ -85,11 +86,11 @@
When I run `rspec`
Then the specs should all pass
Scenario: Convert reported disk usage to MebiByte
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file) { 'file.txt' }
@@ -105,11 +106,11 @@
When I run `rspec`
Then the specs should all pass
Scenario: Convert reported disk usage to GibiByte
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file) { 'file.txt' }
@@ -125,10 +126,10 @@
When I run `rspec`
Then the specs should all pass
Scenario: Compare two repored disk usages
Given a file named "spec/disk_usage_spec.rb" with:
- """
+ """ruby
require 'spec_helper'
RSpec.describe 'disk usage', :type => :aruba do
let(:file1) { 'file1.txt' }
let(:file2) { 'file2.txt' }