Sha256: fb3a016aab3faf8461a34cf8be92108562b566c9c5b25480e88ea723294a9b86
Contents?: true
Size: 823 Bytes
Versions: 4
Compression:
Stored size: 823 Bytes
Contents
require 'spec_helper' describe 'integration', :type => :integration do before do @result = %x(rspec -r rutabaga -fs examples/*_spec.rb) end it "shows the correct description" do @result.should include('ensures the feature is called') @result.should include('that 2 + 2 is calculated') @result.should include('my result is 4') end it "should not show any pending steps" do @result.should_not include('PENDING') @result.should_not include('No such step') end it "prints out failures and successes" do @result.should include('6 examples, 1 failure') end it "should find features relative to the root" do @result.should_not include('Feature file not found') end it "should scope steps to describe blocks" do @result.should_not include('Turnip::Ambiguous') end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rutabaga-0.0.4 | spec/feature_spec.rb |
rutabaga-0.0.3 | spec/feature_spec.rb |
rutabaga-0.0.2 | spec/feature_spec.rb |
rutabaga-0.0.1 | spec/feature_spec.rb |