spec/cliver_spec.rb in cliver-0.1.3 vs spec/cliver_spec.rb in cliver-0.1.4
- old
+ new
@@ -13,10 +13,10 @@
let(:executable) { 'ruby' }
it { should be_false }
end
context 'when dependency is present, but wrong version' do
let(:executable) { 'ruby' }
- let(:requirements) { ['~>0.1.0'] }
+ 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}" }
end