spec/cliver_spec.rb in cliver-0.1.4 vs spec/cliver_spec.rb in cliver-0.1.5

- old
+ new

@@ -17,15 +17,15 @@ let(:executable) { 'ruby' } let(:requirements) { ['~> 0.1.0'] } let(:detector) { proc { RUBY_VERSION.sub('p', '.') } } it { should_not be_false } it { should match 'Dependency Version Mismatch:' } - it { should match "expected 'ruby' to be #{requirements}" } + it { should match "expected .+ 'ruby' to be #{requirements}" } end context 'when dependency is not present' do let(:executable) { 'ruxxxby' } it { should_not be_false } it { should match 'Dependency Not Found:' } - it { should match "'#{executable}' missing" } + it { should match "'#{executable}' could not be found" } end end end